The display evpn mac routing-table command displays the MAC routing entries of the BGP EVPN function.
display evpn mac routing-table { all-vpn-instance | vpn-instance evpn-instance-name [ mac-address ] }
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. |
# 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
Item |
Description |
---|---|
EVPN-Instance Name |
EVPN instance where a MAC routing entry resides. |
Flag |
Flag of the MAC routing entry type:
|
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. |