Use this command to set the encapsulation mode of this L2 tunnel to VXLAN.
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. |
None.
Tunnel Interface Configuration command mode.
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
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).
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)->