tunnel mode vxlan l2 (S-, K-Series)

Use this command to set the encapsulation mode of this L2 tunnel to VXLAN.

Syntax

tunnel mode vxlan l2 tb-port-name
no tunnel mode gre l2 tb-port-name

Parameters

tb-port-name Specifies the name of the tunnel bridge port to bind to this L2 tunnel. Tunnel bridge ports are defined as tbp.0.x where x is the number of the tunnel bridge port.

Defaults

None.

Mode

Tunnel Interface Configuration command mode.

Usage

This command binds the specified tunnel bridge port to the routing tunnel interface with this VXLAN encapsulated L2 tunnel. L2 tunnel mode is specified within the L3 tunnel configuration.

Note

Note

Disable the tunnel interface using the shutdown command should you have a need to change the tunnel mode. After changing the tunnel mode, enable the tunnel interface using the no shutdown command. For information about enabling and disabling an interface, see no shutdown.

Use the “no” option for this command to reset the tunnel mode to the default value of GRE. For default tunnel mode information, see tunnel mode (S-, K-Series).

Example

This example shows how to set:
  • IP address 10.10.10.1 as the VXLAN L2 tunnel source
  • Tunnel bridge port tbp.0.1 as the bound port for the VXLAN L2 tunnel 1
System(rw)->configure
System(rw-config)->interface tunnel 1
System(rw-config-intf-tun.0.1)->tunnel source 10.10.10.1
System(rw-config-intf-tun.0.1)->tunnel mode vxlan l2 tbp.0.1
System(rw-config-intf-tun.0.1)->no shutdown
System(rw-config-intf-tun.0.1)->