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 admin role.
  • Only vxlan tunnel is supported for outer config.
  • The VNI must not be already configured.
  • If the same command is executed more than once, the second and subsequent executions are ignored and no error is reported.
  • The no keyword can remove just the VNI or the entire vxlan outer config.

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 

The following examples show error messages.

VNI already configured:

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

Out of range vni-value:

device(config-ingress-group)# traffic-type vxlan outer vni 0 
%Error: Value '0' not in range <1-16777215>. 

device(config-ingress-group)# traffic-type vxlan outer vni 17000000 
%Error: Value '17000000' not in range <1-16777215>.