Usage Scenario
After a VXLAN is configured, to check the VNI status and BD to which the VNI is mapped, run the display vxlan vni command. The command output helps you determine whether the VXLAN is correctly configured.
Precautions
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display vxlan vni
Number of vxlan vni: 2
VNI BD-ID State
---------------------------------------
5010 10 up
5020 20 up
<HUAWEI> display vxlan vni 5010 verbose
BD ID : 10
State : up
NVE : 1610612739
Source Address : 1.1.1.1
Source IPv6 Address : -
UDP Port : 4789
BUM Mode : head-end
Group Address : -
Peer List : 2.2.2.2 2.2.2.3
IPv6 Peer List : -
Item | Description |
---|---|
Number of vxlan vni | Number of VNIs configured. |
VNI | VNI ID, which is configured using the vxlan vni vni-id command. |
BD-ID | ID of the BD to which a VNI is mapped, which is configured using the bridge-domain bd-id command. |
State | VNI status:
The status of a VNI is up only when the VXLAN tunnel identified by the VNI exists and is up. If the VNI status is down, check whether the source and destination IP addresses displayed in the Source and Peer List fields in the display vxlan vni command output are consistent with those displayed in the Source and Destination fields in the display vxlan tunnel command output.
Run the source ip-address or vni vni-id head-end peer-list command to change the source or destination IP address of the VXLAN tunnel to ensure that the VXLAN tunnel exists.
|
BD ID | ID of the BD to which a VNI is mapped. |
NVE | NVE interface index, which is automatically generated when an NVE interface is created using the interface nve command. This index is used only for internal query. |
Source Address | Source VTEP's IP address, which can be configured using the source ip-address command. |
Source IPv6 Address | IPv6 address of the source VTEP. |
IPv6 Peer List | IPv6 address of the remote VTEP. |
UDP Port | Destination UDP port number, which is fixed at 4789. |
BUM Mode | Broadcast, unknown unicast, and multicast mode. head-end: A VXLAN tunnel forwards BUM packets using the ingress replication mode. |
Group Address | Group address mode, which allows a VNI to use multicast replication to forward BUM packets. This field displays as a hyphen (-) because multicast replication is not supported. |
Peer List | Remote VTEPs' IP addresses, which can be configured using the vni vni-id head-end peer-list command. |