< Home

display evpn mac routing-table

Function

The display evpn mac routing-table command displays the MAC routing entries of the BGP EVPN function.

Format

display evpn mac routing-table { all-vpn-instance | vpn-instance evpn-instance-name [ mac-address ] }

Parameters

Parameter Description Value
all-vpn-instance Displays the MAC routing entries of all the EVPN instances.
vpn-instance evpn-instance-name Displays the MAC routing entry of a specified EVPN instance. The EVPN instance must already exist on the device.
mac-address Displays the MAC routing entry of a specified MAC address. The value is in H-H-H format. An H is a hexadecimal number of 1 to 4 digits. The MAC address cannot be FFFF-FFFF-FFFF, 0000-0000-0000, or a multicast MAC address.

Views

All views

Default Level

1: Configuration level

Usage Guidelines

To check MAC routing entries of the BGP EVPN function, run this command.

Example

# Display MAC routing entries of all the EVPN instances.

<HUAWEI> display evpn mac routing-table all-vpn-instance
EVPN-Instance Name : evpn10
------------------------------------------------------------------------------
Flag     MAC Address     Serial number    VNI         VTEP Address
------------------------------------------------------------------------------
local    0000-5e00-5311  0                1002        10.1.1.1
remote   0000-5e00-5322  0                1002        10.2.2.2
------------------------------------------------------------------------------
Total Num: 2 Local Num: 1 Remote Num : 1
Table 1 Description of the display evpn mac routing-table command output

Item

Description

EVPN-Instance Name

EVPN instance where a MAC routing entry resides.

Flag

Flag of the MAC routing entry type:

  • remote: The MAC routing entry is remotely obtained.
  • local: The MAC routing entry is locally obtained.

MAC Address

MAC address of a MAC routing entry.

Serial number

Serial number of a MAC routing entry.

VNI

Layer 2 VNI to which a MAC routing entry belongs.

VTEP Address

VTEP IP address of a MAC routing entry.

Total Num

Total number of MAC routing entries.

Local Num

Total number of MAC routing entries locally obtained.

Remote Num

Total number of MAC routing entries remotely obtained.

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