R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101

33
MAC address table configuration commands
NOTE:
The MAC address table can contain only Layer 2 Ethernet ports.
This document covers only the configuration of static, dynamic, and blackhole MAC address table
entries.
display mac-address
Syntax
display mac-address [ mac-address [ vlan vlan-id ] | [ [ dynamic | static ] [ interface interface-type
interface-number ] | blackhole | [ vlan vlan-id ] [ count ] ]
View
Any view
Default level
1: Monitor level
Parameters
blackhole: Displays 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 ranges from 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.
interface interface-type interface-number: Displays MAC address learning status of the specified
interface. interface-type interface-number specifies an interface by its type and number.
Description
Use the display mac-address command to display information about the MAC address table.
If you execute this command without specifying any parameters, this command displays information
about all MAC address entries.
If you execute this command using only the vlan or count keyword, or only these two keywords, the
command output will include only information of unicast MAC address entries.
Related commands: mac-address (interface view), mac-address (system view), and mac-address timer.