Parameter | Description | Value |
---|---|---|
tunnel-id |
Specifies a VXLAN tunnel ID. |
The value is an integer ranging from 1 to 4294967295. |
cu-mode |
Displays VXLAN tunnel information in a CU separation scenario. In VS mode, this parameter is supported only by the admin VS. |
- |
vpn-instance vpn-instance-name |
Displays the VXLAN tunnel information of a VPN instance with a specified ID. In VS mode, this parameter is supported only by the admin VS. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
verbose |
Displays detailed VXLAN tunnel information. |
- |
all |
Displays information about all VXLAN tunnels. |
- |
Usage Scenario
After VXLAN tunnels are established, run the display vxlan tunnel command to check tunnel information. The command output helps verify configurations and locate faults.
After VXLAN tunnels are created in a CU separation scenario, you can specify the cu-mode parameter in the display vxlan tunnel command to check information about VXLAN tunnels between the vBRAS-CU and vBRAS-UP. To check the VXLAN tunnel information of a specified VPN instance, specify the vpn-instance parameter in the command.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display vxlan tunnel cu-mode
Number of vxlan tunnel : 1
Tunnel ID Source Destination State Type Uptime
----------------------------------------------------------------------------------------------------------
4026531846 1.1.1.1 3.3.3.3 up static 12:23:45
<HUAWEI> display vxlan tunnel all
Vpn Instance Name : _public_
Number of vxlan tunnel : 2
Tunnel ID Source Destination State Type Uptime
----------------------------------------------------------------------------------------------------------
4026531844 1.1.1.1 4.4.4.4 down static -
4026531846 1.1.1.1 2.2.2.2 down static -
----------------------------------------------------------------------------------------------------------
<HUAWEI> display vxlan tunnel cu-mode verbose
Tunnel ID : 4026531846
Source : 1.1.1.1
Destination : 3.3.3.3
State : up
Type : static
LearnMac : disable
BypassVxlan : false
Uptime : 12:23:45
<HUAWEI> display vxlan tunnel
Number of vxlan tunnel : 3
Tunnel ID Source Destination State Type Uptime
----------------------------------------------------------------------------------------------------------
4026531844 1.1.1.1 2.2.2.2 up static 03:12:33
4026531846 1.1.1.1 3.3.3.3 up static 12:23:45
4026531847 1.1.1.1 4.4.4.4 down static -
<HUAWEI> display vxlan tunnel 4026531844 verbose
Tunnel ID : 4026531844
Source : 1.1.1.1
Destination : 2.2.2.2
State : up
Type : static
LearnMac : disable
BypassVxlan : false
Uptime : 03:12:33
Item | Description |
---|---|
Number of vxlan tunnel | Number of VXLAN tunnels that have been established. |
Tunnel ID | VXLAN tunnel ID, which is automatically allocated after a VXLAN tunnel is established. |
Source | VXLAN tunnel source IP address. |
Destination | VXLAN tunnel destination IP address. |
State | VXLAN tunnel status:
|
Type | VXLAN tunnel type.
|
Uptime | Period during which a VXLAN tunnel is Up.
If a hyphen (-) is displayed, the VXLAN tunnel is Down. |
Vpn Instance Name | Name of VPN instance which VXLAN tunnels belong to. The _public_ indicates public instance. |
LearnMac | Indicates whether MAC address learning is enabled:
|
BypassVxlan | Indicates whether the bypass VXLAN tunnel exists:
|