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:
Secure Addresses (User-defined) Count: 0
Static Addresses (User-defined) Count: 0
System Self Addresses Count:
Total MAC addresses:
Non-static Address Table:
Destination Address
-------------------
0010.0de0.e289
0010.7b00.1540
0010.7b00.1545
0060.5cf4.0076
0060.5cf4.0077
0060.5cf4.1315
0060.70cb.f301
00e0.1e42.9978
00e0.1e9f.3900
This is an example of output from the show mac address-table static interface fastethernet0/2 vlan
1 command:
Switch> show
vlan
-----+---------------+--------+---------
1
1
1
1
1
1
1
This is an example of output from the show mac address-table count vlan 1 command:
Switch# show
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
Vlan Aging Time
---- ----------
1
2
3
300
301
Catalyst 2950 Desktop Switch Command Reference
2-176
Address Type
------------
Dynamic
Dynamic
Dynamic
Dynamic
Dynamic
Dynamic
Dynamic
Dynamic
Dynamic
mac address-table static interface fastethernet0/2 vlan 1
mac address
type
abcd.2345.0099
static
abcd.0070.0070
static
abcd.2345.0099
static
abcd.2345.0099
static
00d0.d333.7f34
static
abcd.2345.0099
static
0005.6667.0007
static
mac address-table count vlan 1
mac address-table aging-time
450
300
600
450
450
9
41
50
VLAN
Destination Port
----
--------------------
1
FastEthernet0/1
2
FastEthernet0/5
2
FastEthernet0/5
1
FastEthernet0/1
1
FastEthernet0/1
1
FastEthernet0/1
1
FastEthernet0/1
1
FastEthernet0/1
1
FastEthernet0/1
ports
Fa0/2
Fa0/2
Fa0/2
Fa0/2
Fa0/2
Fa0/2
Fa0/2
Chapter 2 Cisco IOS Commands
78-11381-05