3com 5500-ei pwr Reference Guide

Page of 1314
 
1-2 
display mac-address 
Syntax 
display mac-address [ mac-address [ vlan vlan-id ] | [ [ dynamic | static | blackhole ] [ interface 
interface-type interface-number ] [ vlan vlan-id ] [ count ] ] [ unit unit-id ] 
View 
Any view 
Parameters 
mac-address: Displays MAC address entries in a specified MAC address, in the format of H-H-H. 
static: Displays static MAC address entries. Similar to blackhole MAC address entries, these entries do 
not age but you can add or remove them. 
dynamic: Displays dynamic MAC address entries. Aging time is set for these entries. 
blackhole: Displays blackhole MAC address entries. These entries do not age but you can add or 
remove them. Packets whose destination MAC addresses or source MAC addresses match destination 
blackhole MAC address entries are dropped. 
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. 
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. 
statistics: Displays statistics of the MAC address entries maintained by the switch. 
unit unit-id: Displays information about the MAC address forwarding table of the specified unit in the 
fabric. 
Description 
Use the display mac-address command to display information about MAC address entries in the MAC 
address table, including: MAC address, VLAN and port corresponding to the MAC address, the type 
(static or dynamic) of a MAC address entry, whether a MAC address is within the aging time and so on. 
If you specify a unit ID with unit unit-id, the information about the MAC address entries on the specified 
device in the fabric will be displayed. 
Examples 
# Display information about MAC address 000f-e20f-0101. 
<Sysname> display mac-address 000f-e20f-0101 
Unit 1 
MAC ADDR          VLAN ID   STATE       PORT INDEX            AGING TIME(s) 
000f-e20f-0101    1         Learned    GigabitEthernet1/0/1  AGING 
# Display the MAC address entries for the port GigabitEthernet 1/0/4. 
<Sysname> display mac-address interface GigabitEthernet 1/0/4 
Unit 1 
MAC ADDR        VLAN ID   STATE       PORT INDEX               AGING TIME(s)