traffic-type vxlan outer vni

Configures VXLAN outermost header for VNI match based classification.

Syntax

traffic-type vxlan outer vni vni-value
no traffic-type vxlan outer vni vni-value

Parameters

vxlan outer
Specifies the VXLAN outermost header to be matched to classify packet in double encapsulated packet.
vni vni-value
Specifies the VNI value to be matched. The valid range is 1-16777215.

Modes

Ingress-group config mode

Usage Guidelines

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

Validations for the command are as follows:
  • This command is available only to users with the admin role.
  • Only the VXLAN tunnel is supported for outer config.
  • The VNI must not be already configured.
  • If the same command is run more than once, the second and subsequent instances are ignored and no error is reported.
  • The no keyword can remove just the VNI or the entire VXLAN outer configuration.

Examples

The following example configures the VXLAN outermost header.

device(config-ingress-group)# traffic-type vxlan outer vni 2000 
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 : 2000 
   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