Configures VXLAN or MPLS as outermost encapsulation type with the mirror action to classify MPLS Segment Routing packets.
Ingress-group config mode
This command enables mirroring in double encapsulation traffic with VXLAN as outermost header or traffic with MPLS outer encapsulation type. Successfully classified traffic is mirrored to the configured front-panel interface.
Validations for the command are as follows:
no
form of the
command can remove just the mirror or the entire VXLAN or MPLS outer
configuration.The following example configures the mirror for the VXLAN outermost header.
device(config-ingress-group)# traffic-type vxlan outer mirror mirr_1 device# show ingress-group ing Name : ing Route-Map : - Description : - Interfaces : none Traffic-Type : GTPU Tunnel-Id : any Mode : none Destination-ip-addr : 192.168.3.2 Destination-ip-mask : 255.255.255.0 Source-ip-addr : 192.168.2.1 Source-ip-mask : 255.255.255.0 Outer Tunnel Config : Traffic-Type : VxLAN Tunnel-Id : any Destination-ip-addr : 192.168.5.2 Destination-ip-mask : 255.255.255.0 Source-ip-addr : 192.168.4.2 Source-ip-mask : 255.255.255.0 Mirror : mirr_1
The following example configures the mirror for MPLS outer header.
device(config-ingress-group)# traffic-type mpls outer mirror mirr_2 device(config-ingress-group)# do show ingress-group all Number of ingress-groups: 1 Name : igg1 Route-Map : rmap1 Description : - Interfaces : ethernet 0/1 Outer Tunnel Config : Traffic-Type : MPLS Header1 (Bottom of Stack header): label : 12345 Traffic Class : 3 Time to Live : 250 Mirror : mirr_2