diff --git a/doc/Configuration.md b/doc/Configuration.md index 26a67da0c0..8476f2028b 100644 --- a/doc/Configuration.md +++ b/doc/Configuration.md @@ -27,6 +27,7 @@ Table of Contents * [Management Interface](#management-interface) * [Management port](#management-port) * [Management VRF](#management-vrf) + * [Mirroring](#mirroring) * [MAP_PFC_PRIORITY_TO_QUEUE](#map_pfc_priority_to_queue) * [NTP and SYSLOG servers](#ntp-and-syslog-servers) * [Port](#port) @@ -791,6 +792,46 @@ instead of data network. } ``` + +### Mirroring + +``` +{ +"MIRROR_SESSION_TABLE:session_1": { + "src_ip": "1.1.1.1", + "dst_ip": "2.2.2.2", + "gre_type": "0x6558", + "dscp": "50", + "ttl": "64", + "queue": "0" + } +} + +{ +"MIRROR_SESSION_TABLE:session_2": { + "src_ip": "1.1.1.1", + "dst_ip": "2.2.2.2", + "gre_type": "0x6558", + "dscp": "50", + "ttl": "64", + "queue": "0", + "src_port": "Ethernet0,PortChannel001", + "direction": "BOTH", + "type": "ERSPAN" + } +} + +{ +"MIRROR_SESSION_TABLE:session_3": { + "type": "SPAN" + "dst_port": "Ethernet0" + "src_port": "Ethernet4,PortChannel002" + "direction": "BOTH" + } +} + +``` + ### MAP_PFC_PRIORITY_TO_QUEUE ``` @@ -1162,4 +1203,4 @@ Incremental Configuration by Subscribing to ConfigDB Detail instruction to be added. A sample could be found in this [PR](https://github.com/Azure/sonic-buildimage/pull/861) that -implemented dynamic configuration for BGP. \ No newline at end of file +implemented dynamic configuration for BGP.