display vxlan vni

Function

The display vxlan vni command displays VXLAN configurations.

Format

display vxlan vni [ vni-id [ verbose ] ]

Parameters

Parameter Description Value
vni-id

Specifies a VNI ID.

The value is an integer ranging from 1 to 16777215.

verbose

Displays detailed configurations of the VXLAN with a specified VNI ID.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
nvo3 read

Usage Guidelines

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

  • Before running the display vxlan vni command, ensure that the specified VNI exists. Otherwise, the information obtained will be inapplicable.
  • If both ingress replication and another replication are configured in a VSI, the mode for forwarding BUM packets is displayed as another replication in the command output.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display VXLAN configurations.
<HUAWEI> display vxlan vni
Number of vxlan vni: 2
VNI            BD-ID            State
---------------------------------------
5010           10               up
5020           20               up
# Display detailed configurations of the VXLAN with VNI 5010.
<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         : -
Table 1 Description of the display vxlan vni command output
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:

  • up.
  • down.

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.

  • If they are inconsistent, the VXLAN tunnel identified by the VNI does not exist.

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.

  • If they are consistent, collect configuration information and contact technical support personnel.
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >