14
Syntax
tunnel tunnel-number
undo tunnel tunnel-number
Default
A VXLAN does not contain VXLAN tunnels.
Views
VXLAN view
Predefined user roles
network-admin
context-admin
Parameters
tunnel-numb
er: Specifies a tunnel interface number. The value range for this argument is 0 to
1023.The tunnel must be a VXLAN tunnel.
Usage guidelines
This command assigns a VXLAN tunnel to a VXLAN to provide Layer 2 connectivity for the VXLAN
between two sites. In unicast mode, the system floods unknown unicast, multicast, and broadcast
traffic to each tunnel in the VXLAN.
You can assign multiple VXLAN tunnels to a VXLAN, and configure a VXLAN tunnel to trunk multiple
VXLANs.
Examples
# Assign VXLAN tunnels 1 and 2 to VXLAN 10000.
<Sysname> system-view
[Sysname] vsi vpna
[Sysname-vsi-vpna] vxlan 10000
[Sysname-vsi-vpna-vxlan-10000] tunnel 1
[Sysname-vsi-vpna-vxlan-10000] tunnel 2
Related commands
display vxlan tunnel
tunnel global source-address
Use
tunnel global source-address
to specify a global source address for VXLAN tunnels.
Use
undo tunnel global source-address
to restore the default.
Syntax
tunnel global source-address
ip-address
undo tunnel global source-address
Default
No global source address is specified for VXLAN tunnels.
Views
System view