< Home

display vxlan tunnel

Function

The display vxlan tunnel command displays information about VXLAN tunnels.

Format

display vxlan tunnel [ tunnel-id ] [ verbose ]

Parameters

Parameter Description Value

tunnel-id

Displays information about the VXLAN tunnel with a specified ID.

If this parameter is not specified, the device displays information about all VXLAN tunnels.

The value is an integer that ranges from 1 to 4294967295.

verbose

Displays detailed VXLAN tunnel information.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After VXLAN tunnels are established, you can run the display vxlan tunnel command to view VXLAN tunnel information.

Example

# Display VXLAN tunnel information.
<HUAWEI> display vxlan tunnel
 Tunnel ID       Source              Destination         State     Type         
 ----------------------------------------------------------------------------   
 4026531841      10.1.1.2            10.1.1.4            up        static       
 ----------------------------------------------------------------------------   
 Number of vxlan tunnel :   
 Total: 1   Static: 1   L2 dynamic: 0   L3 dynamic: 0
# Display detailed VXLAN tunnel information.
<HUAWEI> display vxlan tunnel verbose
 Tunnel ID       : 4026531841                                                   
 Source          : 10.1.1.2                                                      
 Destination     : 10.1.1.4                                                      
 State           : up
 Reason          : -
 Type            : static                                                       
 ----------------------------------------------------------------------------   
 Number of vxlan tunnel : 
 Total: 1   Static: 1   L2 dynamic: 0   L3 dynamic: 0
Table 1 Description of the display vxlan tunnel command output

Item

Description

Tunnel ID

ID of a VXLAN tunnel. After a VXLAN tunnel is established, the ID is automatically generated by the device.

Source

Source IP address of the VXLAN tunnel. To configure the source IP address, run the source (NVE interface view) command.

Destination

Destination IP address of the VXLAN tunnel.

State

Status of the VXLAN tunnel:
  • up: The VXLAN tunnel is reachable.
  • down: The VXLAN tunnel is unreachable.

Reason

Reason why the VXLAN tunnel is Down:
  • no license: No valid license is available.
  • no route: Routes are unreachable.

Type

IP address configuration mode of the destination VTEP:
  • static: The IP address is manually configured.
  • l2 dynamic: Layer 2 VXLAN tunnel IP addresses are dynamically generated through the BGP protocol.
  • l3 dynamic: Layer 3 VXLAN tunnel IP addresses are dynamically generated through the BGP protocol.
To configure the IP address configuration mode, run the vni head-end peer-list command.

Number of vxlan tunnel

Total number of VXLAN tunnels on the device.
  • Total: indicates the number of VXLAN tunnels.
  • Static: indicates the number of static VXLAN tunnels.
  • L2 dynamic: indicates the number of Layer 2 dynamic VXLAN tunnels.
  • L3 dynamic: indicates the number of Layer 3 dynamic VXLAN tunnels.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >