< Home

display vxlan peer

Function

The display vxlan peer command displays the IP address of the destination virtual tunnel end point (VTEP) of a Virtual Network Identifier (VNI).

Format

display vxlan peer [ vni vni-id ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# Display the IP address of the destination VTEP of a specified VNI.
<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
Table 1 Description of the display vxlan peer command output

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:
  • static: The IP address is manually configured.
  • l2 dynamic: Layer 2 VXLAN tunnel IP addresses are dynamically generated through the BGP protocol.
  • l3 dynamic: Layer 3 VXLAN tunnel IP addresses are dynamically generated through the BGP protocol.
To configure the IP address configuration mode, run the vni head-end peer-list command.

Number of peers

Number of IP addresses of destination VTEPs on the device:
  • Total: indicates the number of IP addresses of destination VTEPs (If the Type field displays a combination of multiple types, such as static&l2 dynamic, the number of IP addresses of destination VTEPs is counted as 1).
  • Static: indicates the number of IP addresses of static destination VTEPs.
  • L2 dynamic: indicates the number of IP addresses of Layer 2 dynamic destination VTEPs.
  • L3 dynamic: indicates the number of IP addresses of Layer 3 dynamic destination VTEPs.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >