The display vxlan vni command displays the VXLAN configuration of a specified VNI or all VNIs.
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. |
- |
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.
<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
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:
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.
|
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. |