traffic-type vxlan outer ip

Configures the VXLAN outermost header with the IP address in double encapsulation traffic.

Syntax

traffic-type vxlan outer ip src-ip src-mask dst-ip dst-mask
no traffic-type vxlan outer ip src-ip src-mask dst-ip dst-mask

Parameters

vxlan outer
Specifies the VXLAN outermost header to be matched to classify packet in double encapsulated packet.
ip
Specifies the IP address matching packets.
src-ip src-mask dst-ip dst-mask
Specifies the source IPv4 address, source IPv4 mask, destination IPv4 address, and destination IPv4 mask values.

Modes

Ingress-group config mode

Usage Guidelines

This command is available only to users with the admin role.

Only the VXLAN tunnel is supported for outer config.

Valid IP addresses must be provided.

IPv6 is not supported for the VXLAN outer configuration.

The overlapping IP combination between different ingress-group traffic-type is not allowed.

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 only the IP configuration.

Examples

The following example configures the VXLAN outermost header.

device(config-ingress-group)# 
traffic-type vxlan outer ip 192.168.4.2 255.255.255.0 192.168.5.2 255.255.255.0 

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 : none