21
undo tunnel
{
tunnel-number
|
all
}
Default
A VXLAN does not contain VXLAN tunnels.
Views
VXLAN view
Predefined user roles
network-admin
Parameters
tunnel-numb
er: Specifies a tunnel number in the range of 0 to 1023. 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.
all
: Specifies all VXLAN tunnels. This keyword is available in Release 2422 and later versions.
Usage guidelines
This command assigns a VXLAN tunnel to a VXLAN to provide Layer 2 connectivity for the VXLAN
between two sites.
You can assign multiple VXLAN tunnels to a VXLAN. For a unicast-mode VXLAN, the system floods
unknown unicast, multicast, and broadcast traffic to each tunnel in the VXLAN.
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, and they do not forward traffic when the primary proxy
tunnel is operating correctly.
To change a flood proxy tunnel for a VXLAN, perform the following tasks:
•
Use the
undo tunnel
command to remove the flood proxy tunnel.
•
Use the
tunnel
command to enable flood proxy on another tunnel and assign the tunnel to the
VXLAN.
In Release 2422 and later versions, if you use the
tunnel all
command to assign all VXLAN tunnels
to a VXLAN, you cannot remove a single VXLAN tunnel from the VXLAN. You must remove all the
VXLAN tunnels by using the
undo
tunnel all
command.
Examples
# Assign VXLAN tunnels 0, 1, and 2 to VXLAN 10000. Enable flood proxy on tunnel 2 when you
assign it to the VXLAN.
<Sysname> system-view
[Sysname] vsi vpna
[Sysname-vsi-vpna] vxlan 10000
[Sysname-vsi-vpna-vxlan-10000] tunnel 0
[Sysname-vsi-vpna-vxlan-10000] tunnel 1
[Sysname-vsi-vpna-vxlan-10000] tunnel 2 flooding-proxy
Related commands
display vxlan tunnel
tunnel bfd enable
Use
tunnel bfd enable
to enable BFD on a VXLAN tunnel interface.
Use
undo tunnel bfd enable
to restore the default.