traffic-type vxlan outer mirror

Configures VXLAN outermost header with the mirror action in double encapsulation traffic.

Syntax

traffic-type vxlan outer mirror name
no traffic-type vxlan outer mirror name

Parameters

vxlan outer
Specifies the VXLAN outermost header to be matched to classify packet in double encapsulated packet.
mirror
Enables the mirror action for the outer vxlan tunnel.
name
Specifies the mirror name.

Modes

Ingress-group config mode

Usage Guidelines

This is an individual command used with other vxlan outer config commands.

Validations for the command are as follows:

Examples

The following example configures the mirror for 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 shows the error message for an already configured mirror.

Error: Mirror is already configured for this outer config traffic-type