18
tunnel
Use
tunnel
to assign a VXLAN tunnel to a VXLAN.
Use
undo tunnel
to remove a VXLAN tunnel from a VXLAN.
Syntax
tunnel tunnel-number
[
flooding-proxy
]
undo tunnel tunnel-number
Default
A VXLAN does not contain VXLAN tunnels.
Views
VXLAN view
Predefined user roles
network-admin
mdc-admin
Parameters
tunnel-numb
er: Specifies a tunnel interface number. The value range for this argument is 0 to
20479. The tunnel must be a VXLAN tunnel.
flooding-proxy
: Enables flood proxy on the tunnel for the VTEP to send flood traffic to the flood
proxy server. The flood proxy server replicates and forwards flood traffic to remote VTEPs. If you do
not specify this keyword, flood proxy is disabled on the 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.
On a VSI, you can enable flood proxy on multiple VXLAN tunnels. The first tunnel that is enabled with
flood proxy works as the primary proxy tunnel to forward broadcast, multicast, and unknown unicast
traffic. Other proxy tunnels are backups that do not forward traffic when the primary proxy tunnel is
operating correctly.
To modify the flood proxy setting on a VXLAN tunnel, you must first use the
undo tunnel
command to remove the tunnel.
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