display vxlan tunnel

Function

The display vxlan tunnel command displays VXLAN tunnel information.

Format

display vxlan tunnel [ [ tunnel-id ] | [ cu-mode ] | [ vpn-instance vpn-instance-name [ cu-mode ] ] ] [ verbose ]

display vxlan tunnel all

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
nvo3 read

Usage Guidelines

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display VXLAN tunnel information in a CU separation scenario.
<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
# Display information about all VXLAN tunnels.
<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        -
----------------------------------------------------------------------------------------------------------
# Display detailed VXLAN tunnel information in a CU separation scenario.
<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
# Display VXLAN tunnel information.
<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        -
# Display detailed VXLAN tunnel information.
<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
Table 1 Description of the display vxlan tunnel command output
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:

  • up: The tunnel is reachable.
  • down: The tunnel is unreachable.
Type

VXLAN tunnel type.

  • static: peer-list is statically configured.
  • dynamic: peer-list is dynamically learned by a routing protocol.
Uptime

Period during which a VXLAN tunnel is Up.

  • If the period is less than 24 hours, the displayed format is hh:mm:ss, where hh, mm, and ss stand for hours, minutes, and seconds, respectively.
  • If the period is greater than 24 hours but less than 9999 hours, the displayed format is xxxxhxxm. For example, a period of 30 hours and 26 minutes is displayed as 0030h26m.
  • If the period is greater than 9999 hours, the number of hours is displayed as four asterisks (****). For example, a period of 10000 hours and 26 minutes is displayed as ****h26m.

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:

  • enable.
  • disable.
BypassVxlan

Indicates whether the bypass VXLAN tunnel exists:

  • true.
  • false.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >