traffic-type vxlan outer ip

Configures 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 admin role.

Only vxlan tunnel is supported for outer config.

Valid IP addresses must be provided.

IPv6 is not supported for vxlan outer config.

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

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

The following examples show error messages.

IPv6

Error: IPv6 isn‘t supported

Wrong IP

Error: Invalid Ip address

Source and destination IP Configuration

Error: Source ip already configured for this traffic-type 

Error: Destination ip already configured for this traffic-type 

Error: Source and destination ip already configured for this traffic-type 

Configure traffic-type without parameter

device(config-ingress-group)# traffic-type vxlan outer 
Error: Traffic type for outer header config is already configured with ip address