Command Manual – MAC Address Table Management
H3C S7500E Series Ethernet Switches
Chapter 1 MAC Address Table Management
Configuration Commands
1-1
Chapter 1 MAC Address Table Management
Configuration Commands
1.1 MAC Address Table Management Configuration
Commands
1.1.1 display mac-address
Syntax
display mac-address blackhole [ vlan vlan-id ] [ count ]
display mac-address [ mac-address [ vlan vlan-id ] | [ dynamic | static ] [ interface
interface-type interface-number ] [ vlan vlan-id ] [ count ] ]
View
Any view
Parameters
blackhole: Displays blackhole MAC address entries. These entries do not age but you
can add or remove them. The packets whose destination MAC addresses match
blackhole MAC address entries are dropped.
vlan vlan-id: Displays MAC address entries of the specified VLAN, which is in the range
1 to 4094.
count: Displays the total number of MAC addresses in the MAC address table.
mac-address: Displays MAC address entries in a specified MAC address, in the format
of H-H-H.
dynamic: Displays dynamic MAC address entries. Aging time is set for these entries.
static: Displays static MAC address entries. Similar to blackhole MAC address entries,
these entries do not age but you can add or remove them.
interface interface-type interface-number: Displays MAC address learning status of
the specified port. interface-type interface-number specifies a port by its type and
number.
Description
Use the display mac-address command to display information about the MAC
address table.
Related commands: mac-address (system view), mac-address (Ethernet interface
view), mac-address timer.