The display vxlan peer command displays the IP address of the destination virtual tunnel end point (VTEP) of a Virtual Network Identifier (VNI).
Parameter | Description | Value |
---|---|---|
vni vni-id | Displays the IP address of the destination VTEP of a specified VNI. |
The value is an integer that ranges from 1 to 16777215. |
Usage Scenario
After completing VXLAN configuration, you can run the display vxlan peer command to view information about the source and destination IP address bound to the VNI.
Precautions
Before running the display vxlan peer command, ensure that the device has been configured with VNIs. Otherwise, the command output is meaningless.
<HUAWEI> display vxlan peer Vni ID Source Destination Type -------------------------------------------------------------- 10 10.1.1.2 10.1.1.3 static 10 10.1.1.2 10.1.1.4 static 11 10.1.1.2 10.1.1.5 static&l2 dynamic -------------------------------------------------------------- Number of peers : Total: 3 Static: 3 L2 dynamic: 1 L3 dynamic: 0
Item |
Description |
---|---|
Vni ID |
ID of a VNI. To configure or modify a VNI ID, run the vxlan vni command. For a Layer 3 VXLAN tunnel, the Vni ID field displays . |
Source |
IP address of the source VTEP. To configure or modify the IP address of the source VTEP, run the source command. |
Destination |
IP address of the destination VTEP. To configure or modify the IP address of the destination VTEP, run the vni head-end peer-list command. |
Type |
IP address configuration mode of the destination VTEP:
|
Number of peers |
Number of IP addresses of destination VTEPs on the device:
|