Specifications

2-195
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
show mac address-table
show mac address-table
Use the show mac address-table user EXEC command to display the MAC address table.
show mac address-table [aging-time | count | dynamic | static] [address hw-addr]
[interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression]
Note Beginning with Release 12.1(11)EA1, the show mac address-table command replaces the show
mac-address-table command (with the hyphen). The show mac-address-table command (with the
hyphen) will become obsolete in a future release.
Syntax Description
Command Modes User EXEC
Command History
aging-time (Optional) Display aging time for dynamic addresses for all VLANs.
count (Optional) Display the count for different kinds of MAC addresses (only
available in privileged EXEC mode).
dynamic (Optional) Display only the dynamic addresses.
static (Optional) Display only the static addresses.
address hw-addr (Optional) Display information for a specific address (only available in
privileged EXEC mode).
interface interface-id (Optional) Display addresses for a specific interface.
vlan vlan-id (Optional) Display addresses for a specific VLAN. Valid IDs are from
1 to 4094 when the enhanced software image (EI) is installed and 1 to 1001
when the standard software image (SI) is installed. Do not enter leading
zeros.
| begin (Optional) Display begins with the line that matches the specified
expression.
| exclude (Optional) Display excludes lines that match the specified expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.0(5.2)WC(1) This command was first introduced.
12.1(6)EA2 The show mac-address table secure command was replaced by the show
port-security command. The self keyword is not supported in this release
or later.
12.1(11)EA1 The show mac-address-table command was replaced by the show mac
address-table command.