traffic-type vxlan

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

Syntax

traffic-type vxlan ip [ A.B.C.D | X:X::X:X | any ]
traffic-type vxlan mode [ decap | new-scope ]
traffic-type vxlan vni vni-value
traffic-type vxlan outer { [ ip [ A.B.C.D | X:X::X:X | any ] ] | log | log_drop | [ mirror NAME ] | [ vni vni value ] }
no traffic-type vxlan [ ip | mode | vni vni-value ]

Parameters

vxlan
Specifies the VXLAN outermost header to be matched to classify packet in double encapsulated packet.
ip
Specifies the IP address for matching packets.
A.B.C.D
Specifies the IPv4 address.
X:X::X:X
Specifies the IPv6 address.
any
Specifies any source IP address.
mode
Specifies the actions for matching packets.
decap
Removes the encapsulated header.
new-scope
Shifts the scope of headers to inner headers for further processing.
outer
Specifies the VXLAN outer header.
log
Captures the packet matching traffic type.
log_drop
Captures the packet matching traffic type and drop.
mirror NAME
Configures the mirror. Supports 64 characters.
vni vni value
Specifies the vni value. The valid range is 1-16777215.

Modes

Ingress-group config mode

Usage Guidelines

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

This command enables mirroring in double encapsulation traffic with VXLAN as outermost header or traffic with MPLS outer encapsulation type. Successfully classified traffic is mirrored to the configured front-panel interface.

Only the VXLAN tunnel is supported for outer config.

Valid IP addresses must be provided. The following IP addresses are not valid:
  • Unspecified IPv4 address (0.0.0.0)
  • Broadcast IPv4 address (255.255.255.255)
  • Unspecified IPv6 address (“::”)
  • Broadcast IPv6 address (ffff:fffff:fffff:fffff:fffff:ffff:fffff:ffff)

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