7-1
7 MAC Address Table Configuration Commands
Currently, MAC address table configuration applies to Layer 2 Ethernet port, and Layer 2
aggregate interfaces only.
This document covers only the configuration of static, dynamic, and blackhole unicast MAC
address table entries. For more information about the configuration of static multicast MAC
address table entries, see Multicast Routing and Forwarding Configuration and IPv6 Multicast
Routing and Forwarding Configuration in the IP Multicast Configuration Guide.
MAC Address Table Configuration Commands
display mac-address
Syntax
display mac-address [ mac-address [ vlan vlan-id ] | [ [ dynamic | static ] [ interface interface-type
interface-number ] | blackhole ] [ vlan vlan-id ] [ count ] ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default Level
1: Monitor level
Parameters
blackhole: Destination blackhole MAC address entries. These entries do not age but you can add or
remove them. Packets whose destination MAC addresses match destination blackhole MAC address
entries are dropped.
vlan vlan-id: Displays MAC address entries of the specified VLAN, where vlan-id is in the range 1 to
4094.
count: Displays the number of MAC address entries specified by related parameters in the command.
When this keyword is used, the command displays only the number of specified MAC address entries,
rather than related information about these MAC address entries.
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.