3com S7906E Guide De Référence
1-1
1
MAC Address Table Management Configuration
Commands
MAC Address Table Management Configuration Commands
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
Default Level
1: Monitor level
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, where vlan-id 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
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.
Related commands: mac-address (system view), mac-address (Ethernet interface view),
mac-address timer.
Examples
# Display the MAC address table entry for MAC address 00e0-fc01-0101.
<Sysname> display mac-address 00e0-fc01-0101