Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
show mac address-table
Use the show mac address-table user EXEC command to display the MAC address table.
Note
Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table command replaces the
show mac-address-table command (with the hyphen).
Syntax Description
aging-time
count
dynamic
static
address hw-addr
interface interface-id
vlan vlan-id
| begin
| exclude
| include
expression
Command Modes
User EXEC
The address and count keywords are available only in privileged EXEC mode.
Command History
Release
12.0(5.2)WC(1)
12.1(6)EA2
12.1(11)EA1
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.
0L-10102-01
show mac address-table [aging-time | count | dynamic | static] [address hw-addr]
[interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression]
(Optional) Display aging time for dynamic addresses for all VLANs.
(Optional) Display the count for different kinds of MAC addresses (only
available in privileged EXEC mode).
(Optional) Display only the dynamic addresses.
(Optional) Display only the static addresses.
(Optional) Display information for a specific address (only available in
privileged EXEC mode).
(Optional) Display addresses for a specific interface.
(Optional) Display addresses for a specific VLAN. The range is 1 to 4094.
(Optional) Display begins with the line that matches the specified
expression.
(Optional) Display excludes lines that match the specified expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
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.
The show mac-address-table command was replaced by the show mac
address-table command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
show mac address-table
2-369