< Home

display mac-address summary

Function

The display mac-address summary command displays statistics on MAC address entries.

Format

display mac-address summary [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Displays statistics on MAC address entries on a specified card.

The value is an integer and must be the slot ID of a running card.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The MAC address table of the device stores MAC addresses of other devices. When forwarding an Ethernet frame, the switch searches the MAC address table for the outbound interface according to the destination MAC address and VLAN ID in the Ethernet frame.

When the switch has many MAC address entries of different types.

Precautions

  • If slot slot-id is specified, this command displays statistics on MAC address entries on the specified card. If this parameter is not specified, this command displays statistics on MAC address entries on all cards.

  • If no static or blackhole MAC addresses are configured on the device, statistics about the two types of MAC address entries are 0.
  • Blackhole MAC address entries fall into global and VLAN- or VSI-based blackhole MAC address entries. Global blackhole MAC address entries are configured using the mac-address blackhole command with only a MAC address specified. They do not occupy the MAC address table space.
  • If MAC address learning is disabled on the device, statistics about dynamic MAC address entries are 0.

    Using the undo mac-address learning disable command in the Ethernet interface view can enable MAC address learning.

Example

# View statistics on all MAC address entries in the system.

<HUAWEI> display mac-address summary
Summary information of slot 0:
-----------------------------------                                             
Static     :               2 
Blackhole  :               0 
Dyn-Local  :               0 
Dyn-Remote :               0 
Dyn-Trunk  :               0 
Sticky     :               0 
Security   :               0 
Sec-config :               0 
Authen     :               0 
Guest      :               0 
Mux        :               0 
Snooping   :               0 
Pre-Mac    :               0 
Evpn       :               0 
In-used    :               5 
Capacity   :               32768                                                
-----------------------------------                                             
Table 1 Description of the display mac-address summary command output

Item

Description

Static

Number of static MAC address entries.

Blackhole

Number of blackhole MAC address entries.

Dyn-Local

Number of MAC address entries learned by the local card.

Dyn-Remote

Number of MAC address entries synchronized from other cards.

Dyn-Trunk

Total number of MAC address entries learned by all trunk interfaces.

Sticky

Number of sticky MAC address entries.

Security

Number of secure dynamic MAC address entries.

Sec-config

Number of secure static MAC address entries.

Authen

Number of MAC address entries corresponding to authentication users.

Guest

Number of MAC address entries learned by interfaces in the guest VLAN.

Mux

Number of MAC address entries learned by interfaces enabled with the MUX VLAN function.

Snooping

Number of Snooping MAC address entries.

Pre-Mac

Number of Pre-authen MAC address entries.

Evpn

Number of EVPN MAC address entries.

In-used

Total number of existing MAC address entries.

NOTE:

Global blackhole MAC address entries do not occupy the MAC address table space. If these MAC address entries are configured on the device, the In-used value may be greater than the Capacity value.

Capacity

Capacity of the MAC address table. The actual value varies according to device models.

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