| Parameter | Description | Value |
|---|---|---|
| vni-id | Specifies the VNI of a VXLAN. | The specified VNI must already exist. |
| verbose | Indicates detailed information. If this parameter is configured, the detailed VXLAN configuration is displayed. | - |
Application Scenarios
After configuring a VXLAN, you can run the display vxlan vni command to view the BD associated with the VNI and the VNI status. Based on the displayed information, you can determine whether the VXLAN configuration is correct.
Precautions
Before running the display vxlan vni command, ensure that the VNI exists on the device.
# Display the configuration of all VXLAN VNIs.
<sysname> display vxlan vni The number of VNI:4000 VNI BD-ID State -------------------------------------- 4096 1 down 4097 2 down 4098 3 down 4099 4 down 4100 5 down 4101 6 down 4102 7 down 4103 8 down 4104 9 down 4105 10 down 4106 11 down 4107 12 down 4108 13 down 4109 14 down 4110 15 down 4111 16 down 4112 17 down 4113 18 down 4114 19 down 4115 20 down 4116 21 down 4117 22 down 4118 23 down -----More-------
# Display the configuration of a specified VXLAN VNI.
<sysname> display vxlan vni 4098 VNI BD-ID State ---------------------------------------- 4098 3 down <sysname>
# Display the detailed configuration of a specified VXLAN VNI.
<sysname> display vxlan vni 4098 verbose BD ID :3 State :down Source :192.168.1.2 UDP Port :4789 BUM Mode :head-end Peer List :1.1.2.1 1.1.2.2 1.1.2.3 1.1.2.4 1.1.2.5 1.1.2.6 1.1.2.7 1.1.2.8 1.1.2.9 1.1.2.10 <sysname>
Item |
Description |
|---|---|
BD ID |
BD ID associated with the VNI. You can run the bridge-domain command to set or change the BD ID. |
State |
VNI state:
To make a VNI up, ensure that the VXLAN tunnel of the VNI exists and is up. If the VNI is down, check whether the Source and Peer List values in this command output are consistent with the Source and Destination values in the display vxlan tunnel command output.
|
Source |
IP address of the source VTEP. You can run the source command in the NVE interface view to set or change the IP address. |
UDP Port |
Destination UDP port. The port number is 4789. |
BUM Mode |
The VNI forwards broadcast, unknown-unicast, and multicast packets in ingress replication mode. |
Peer List |
IP address of the peer VTEP. You can run the vni command to set or change the IP address. |