< Home

display vxlan vni

Function

The display vxlan vni command displays the VXLAN configuration of a specified VNI or all VNIs.

Format

display vxlan vni [ vni-id [ verbose ] ]

Parameters

Parameter Description Value

vni-id

Displays VXLAN information about a specified VNI.

If this parameter is not specified, the device displays VXLAN configuration of all VNIs.

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

verbose

Displays detailed VXLAN information about a specified VNI.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Applications

After VXLAN is configured, you can run the display vxlan vni command to view information about BDs associated with VNIs and VNI status.

Precautions

Before running the display vxlan vni command, ensure that the device has been configured with VNIs. Otherwise, the command output is meaningless.

Example

# Display VXLAN information about all VNIs.
<HUAWEI> display vxlan vni
 VNI               BD-ID             State                                      
 -----------------------------------------                                      
 10                10                up                                         
 50                50                up                                         
 -----------------------------------------                                      
 Number of vxlan vni bound to BD is : 2                                         
                                                                                
 VNI               VRF-ID                                                       
 -----------------------------------------                                      
 20                5                                                            
 -----------------------------------------                                      
 Number of vxlan vni bound to VPN is : 1                                        
                                            

# Display detailed VXLAN information about VNI 10.

<HUAWEI> display vxlan vni 10 verbose
 BD ID               :10                                                        
 State               :up                                                        
 Source              :10.1.1.2   
 Source IPv6 Address :-                                               
 UDP Port            :4789                                                      
 Peer List           :10.1.1.1 10.1.1.3   
 IPv6 Peer List      :-

# Display detailed VXLAN information about VNI 20.

<HUAWEI> display vxlan vni 20 verbose
 VRF-ID              :5                
Table 1 Description of the display vxlan vni command output

Item

Description

VNI

ID of a VNI. To configure or modify a VNI ID, run the vxlan vni command.

BD-ID (BD ID)

ID of the BD associated with a VNI. To configure or modify a BD ID, run the bridge-domain (system view) command.

State

VNI status:
  • up
  • down

To ensure that the VNI status is up, the corresponding VXLAN tunnel must exist and be up for the VNI.

If the VNI status is down, check whether Source and Peer List in this command output are the same as Source and Destination in the output of the display vxlan tunnel command.
  • If they are different, no VXLAN tunnel exists for the specified VNI.

    Run the source (NVE interface view) or vni head-end peer-list command to change the source or destination IP address of the VXLAN tunnel to ensure that the corresponding VXLAN tunnel exists for the VNI.

  • If they are the same, collect related configuration and contact technical support personnel.

Number of vxlan vni bound to BD is

Number of existing VNIs bound to BDs.

VRF-ID

VPN instance ID.

Number of vxlan vni bound to VPN is

Number of existing VNIs bound to VPN instances.

Source

IP address of the source VTEP. To configure the IP address of the source VTEP, run the source command in the NVE interface view.

Source IPv6 Address

IPv6 address of the source VTEP. To configure the IPv6 address of the source VTEP, run the source command in the NVE interface view.

UDP Port

Destination UDP port. The port number is fixed as 4789.

Peer List

IP address of the destination VTEP. To configure the IP address of the destination VTEP, run the vni head-end peer-list command.

IPv6 Peer List

IPv6 address of the destination VTEP. To configure the IPv6 address of the destination VTEP, run the vni head-end peer-list command.

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