Specifications
2-196
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
show mac address-table
Usage Guidelines This command displays the MAC address table for the switch. Specific views can be defined by using
the optional keywords and values. If more than one optional keyword is used, all of the conditions must
be true in order for that entry to appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples This is an example of output from the show mac address-table command:
Switch> show mac-address-table
Dynamic Addresses Count: 9
Secure Addresses (User-defined) Count: 0
Static Addresses (User-defined) Count: 0
System Self Addresses Count: 41
Total MAC addresses: 50
Non-static Address Table:
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- --------------------
0010.0de0.e289 Dynamic 1 FastEthernet0/1
0010.7b00.1540 Dynamic 2 FastEthernet0/5
0010.7b00.1545 Dynamic 2 FastEthernet0/5
0060.5cf4.0076 Dynamic 1 FastEthernet0/1
0060.5cf4.0077 Dynamic 1 FastEthernet0/1
0060.5cf4.1315 Dynamic 1 FastEthernet0/1
0060.70cb.f301 Dynamic 1 FastEthernet0/1
00e0.1e42.9978 Dynamic 1 FastEthernet0/1
00e0.1e9f.3900 Dynamic 1 FastEthernet0/1
This is an example of output from the show mac address-table static interface fastethernet0/2 vlan
1 command:
Switch> show mac address-table static interface fastethernet0/2 vlan 1
vlan mac address type ports
-----+---------------+--------+---------
1 abcd.2345.0099 static Fa0/2
1 abcd.0070.0070 static Fa0/2
1 abcd.2345.0099 static Fa0/2
1 abcd.2345.0099 static Fa0/2
1 00d0.d333.7f34 static Fa0/2
1 abcd.2345.0099 static Fa0/2
1 0005.6667.0007 static Fa0/2
This is an example of output from the show mac address-table count vlan 1 command:
Switch# show mac address-table count vlan 1
MAC Entries for Vlan 1 :
Dynamic Address Count: 1
Static Address (User-defined) Count: 41
Total MAC Addresses In Use:42
Remaining MAC addresses: 8150
This is an example of output from the show mac address-table aging-time command:
Switch> show mac address-table aging-time
Vlan Aging Time
---- ----------
1 450
2 300
3 600
300 450
301 450