< Home

display mac-address bridge-domain

Function

The display mac-address bridge-domain command displays MAC address entries of a BD.

Format

display mac-address [ mac-address ] bridge-domain bd-id [ verbose ]

Parameters

Parameter Description Value
mac-address

Displays an entry with 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.
bd-id

Displays MAC address entries of a specified BD.

The value is an integer that ranges from 1 to 16777215.
verbose

Displays detailed information about MAC address entries.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The MAC address table of a switch stores MAC addresses of other devices. The switch queries the MAC address table to quickly locate the outbound interface for data forwarding. You can run the display mac-address bridge-domain command to view MAC address entries of a specified BD.

Follow-up Procedure

If any MAC address entry in the command output is incorrect, run the undo mac-address command to delete the entry or run the mac-address static command to add a correct one.

Example

# Display MAC address entries of BD 20.

<HUAWEI> system-view
[HUAWEI] display mac-address bridge-domain 20
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI/BD                       Learned-From        Type      
-------------------------------------------------------------------------------
0003-0005-0006 -/-/20                            GE0/0/23.5          static    

-------------------------------------------------------------------------------
Total items displayed = 1 

# Display detailed information about MAC address entries of BD 20.

<HUAWEI> system-view
[HUAWEI] display mac-address bridge-domain 20 verbose
-------------------------------------------------------------------------------
MAC Address : 0003-0005-0006         BD   : 20                             
Learned-From: GE0/0/23.5             Type : static                         

-------------------------------------------------------------------------------
Total items displayed = 1 
Table 1 Description of the display mac-address bridge-domain command output

Item

Description

MAC Address

MAC address.

VLAN/VSI/BD

ID of the VLAN, name of the virtual switch instance (VSI), or ID of the BD to which the MAC address belongs.

Learned-From

Interface on which a MAC address is learned.

Type

Type of a MAC address entry:
  • static: a static MAC address entry, which is manually configured and will not be aged out.
  • blackhole: a blackhole MAC address entry, which is manually configured and will not be aged out.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >