< Home

display mac-address vxlan

Function

The display mac-address vxlan command displays the VXLAN MAC address table.

Format

display mac-address vxlan [ mac-address ] [ vni vni-id ]

Parameters

Parameter Description Value
mac-address Specifies an MAC address entry. The MAC address entry must already exist.
vni vni-id Specifies a VNI. The specified VNI must already exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to view all MAC address entries.

Precautions

If the device has many MAC address entries, you can run this command to view a specified MAC address entry. If no MAC address is specified, the following problems may occur due to excessive output information:
  • The displayed information is continuously refreshed, and locating wanted information is difficult.
  • The system fails to respond to other requests because it is busy searching information.

Example

# Display information about all MAC address entries.

[sysname] display mac-address vxlan
-----------------------------------------------------------------------
MAC Address    VNI ID     Learn From     Left Time(s)      Type        
-----------------------------------------------------------------------
0001-0001-0001  4096      192.168.1.2      -              static
-----------------------------------------------------------------------
Total Static Mac displayed = 1
Table 1 Description of the display mac-address vxlan command output

Item

Description

MAC Address

MAC address.

VNI ID

VNI to which the outbound interface belongs.

Left Time(s)

Remaining aging time, in seconds.

If the value is -, the entry is static and does not have the aging time.

Type

Type of the MAC address.
  • static: indicates a static MAC address entry. Static entries are manually configured and will not be aged. Such entries are not lost after the system is reset or the LPU is hot-swapped.

  • dynamic: indicates a dynamic MAC address entry, which is learned based on the source MAC address. Dynamic MAC address entries can be aged based on a specified aging time. Such entries will be lost after the system is reset or the LPU is hot-swapped.

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