display evpn mac routing-table

Function

The display evpn mac routing-table command displays MAC route information about EVPN instances.

Format

display evpn mac routing-table evpn-instance vpn-instance-name [ mac-address mac-address ]

display evpn mac routing-table evpn-instance vpn-instance-name [ mac-address mac-address ] verbose

display evpn mac routing-table all-evpn-instance

display evpn mac routing-table mac-address mac-address

Parameters

Parameter Description Value
mac-address mac-address

Displays information about a MAC route with the specified MAC address.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be set to 00e0-fc00-0002.

evpn-instance vpn-instance-name

Displays MAC route information about an EVPN instance with the specified name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

verbose

Displays detailed MAC route information.

-

all-evpn-instance

Displays MAC route information about all EVPN instances.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vstm read

Usage Guidelines

Usage Scenario

To check MAC route information about EVPN instances, run the display evpn mac routing-table command.

Example

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

# Display detailed information about a specified MAC route in a specified EVPN instance(no TunnelID).
<HUAWEI> display evpn mac routing-table evpn-instance evpn1 verbose
MAC Flag: D - download to fib
---------------------------------------------------------------------------
EVPN name: evpn1
MACs: 1         Entries: 1

MAC Address: 00e0-fc55-0102
   Protocol: BGP                         VLAN/BD: 1
      State: Active                          Age: 01h04m18s
       Type: DynBlk                        Label: 4294967295
 IndirectID: 0x0                          PeerIP: --
       Flag: D                            VtepIP: --
   TunnelID: --                        Interface: --
   PeVlanID: --                         CeVlanID: --
# Display detailed information about a specified MAC route in a specified EVPN instance.
<HUAWEI> display evpn mac routing-table evpn-instance evpn1 mac-address 00e0-fc12-3456 verbose

MAC Flag: D - download to fib
------------------------------------------------------------------------------
EVPN name: evpn1
IndirectID Entries: 1

MAC Address: 00e0-fc12-3456
   Protocol: BGP                         VLAN/BD: --/1
      State: Active                          Age: 00h00m19s
       Type: Dynamic                       Label: 32843
 IndirectID: 0x890000FE                   PeerIP: 10.3.3.3
       Flag: D
   TunnelID: 0x0000000001006ad081      Interface: GigabitEthernet0/1/0
# Display detailed information about a specified UMR(Unknown MAC Route) in a specified EVPN instance.
<HUAWEI> display evpn mac routing-table evpn-instance evrf1 verbose
 
MAC Flag: D - download to fib
------------------------------------------------------------------------------
EVPN name: evrf1
MACs: 1         IndirectID Entries: 1          

MAC Address: 0000-0000-0000      
   Protocol: Local                       VLAN/BD: --/20                         
      State: Active                          Age: 17h10m51s                     
       Type: Dynamic                       Label: 4294967295                    
 IndirectID: 0xFFFFFFFF                   PeerIP: --                                      
       Flag: --                           VtepIP: --                                      
   TunnelID: --                        Interface: Vac20
   PeVlanID: --                         CeVlanID: --
# Display detailed information about a specified MAC route.
<HUAWEI> display evpn mac routing-table mac-address 00e0-fc02-0002
EVPN name: vme
Entries: 1          

MAC-Address        VLAN/BD  PeerIP                                  Type      Interface           
00e0-fc02-0002           1  10.10.2.2                               Static    --
# Display detailed information about a specified MAC route in a specified EVPN instance.
<HUAWEI> display evpn mac routing-table evpn-instance evrf1
EVPN name: evrf1
MACs: 2    Entries: 2          

MAC-Address        VLAN/BD  PeerIP                                  Type      Interface           
00e0-fc16-0230           1  --                                      Static    Vbdif1 
00e0-fca9-4a02           1  2001:DB8::1                             Static    GigebitEthernet3/0/0
# Display MAC route information about all EVPN instances.
<HUAWEI> display evpn mac routing-table all-evpn-instance
EVPN name: evrf1
MACs: 2         IndirectID Entries: 2          

MAC-Address           VLAN/BD          PeerIP                                  Type      Interface           
0001-0001-0001          --/1           --                                      Static    Vbdif1 
0002-0002-0002          --/1           2001:DB8::1                             Static    GigebitEthernet3/0/0
# Display information about a specified MAC route in a specified EVPN instance. The MAC route carries VLAN information.
<HUAWEI> display evpn mac routing-table evpn-instance evrf1
EVPN name: evrf1
MACs: 2         IndirectID Entries: 2          

MAC-Address           VLAN/BD          PeerIP                                  Type      Interface           
00e0-fcd5-5806          10/10          3.3.3.3                                 Dynamic   LDP LSP 
00e0-fc6c-2101          10/10          --                                      Dynamic   Ethernet0/1/16.1
# Display detailed information about MAC routes of a specified EVPN instance. The MAC routes carry VLAN information.
<HUAWEI> display evpn mac routing-table evpn-instance evrf1 verbose
 
MAC Flag: D - download to fib
------------------------------------------------------------------------------
EVPN name: evrf1
MACs: 2         IndirectID Entries: 2          

MAC Address: 00e0-fcd5-5806      
   Protocol: BGP                         VLAN/BD: 10/10
      State: Active                          Age: 00h01m03s                     
       Type: Dynamic                       Label: 48060                         
 IndirectID: 0x10000A1                    PeerIP: 3.3.3.3                                 
       Flag: D              
   TunnelID: 0x0000000001004c4b43      Interface: Ethernet0/1/18

MAC Address: 00e0-fc6c-2101      
   Protocol: Local                       VLAN/BD: 10/10
      State: Active                          Age: 00h01m03s                     
       Type: Dynamic                       Label: 4294967295                    
 IndirectID: 0xFFFFFFFF                   PeerIP: --                                      
       Flag: --                           VtepIP: --                                      
   TunnelID: --                        Interface: Ethernet0/1/16.1
   PeVlanID: 10                         CeVlanID: --
Table 1 Description of the display evpn mac routing-table command output
Item Description
MAC Address

MAC address.

MAC Flag

MAC flag.

EVPN name

EVPN instance name.

IndirectID

IID index of a MAC route.

IndirectID Entries

Number of indirect next hop entries.

MAC-Address

MAC address.

VLAN/BD

VLAN ID and BD ID.

PeerIP

Specifies the source IP address corresponding to the MAC address or the SID value in an EVPN VPLS over SRv6 BE scenario.

Type

MAC address type:

  • Dynamic: The MAC addresses are dynamically learned by the EVPN peer and remain dynamic after being transmitted to the PE.
  • Static: The MAC addresses are statically configured on the EVPN peer and remain static after being transmitted to the PE. Static MAC addresses have a higher priority than dynamic MAC addresses.
  • DynBlk: Blackhole MAC addresses that are generated due to frequent MAC address changes. Packets that match the blackhole MAC routes will be discarded.
  • DynLeaf: MAC addresses of interfaces with the leaf attribute in dynamic E-Tree scenarios.
  • StaLeaf: MAC addresses of interfaces with the leaf attribute in static E-Tree scenarios.
Interface

Outbound interface.

MACs

Number of MAC addresses.

Entries

Number of the entries.

Flag

Flag, which can be D or ND.

Label

Label that is allocated by MPLS and used for traffic forwarding along a tunnel.

State

MAC route state (active or invalid).

Age

Keepalive time(unit: s).

TunnelID

Tunnel information.

Protocol

Protocol Type.

VtepIP

The address of VTEP(VXLAN Tunnel End Point).

PeVlanID

Outer vlan tag.

CeVlanID

Inner vlan tag.

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