
2-363
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-02
Chapter 2 Catalyst 2950 and 2955 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 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
Command Modes User EXEC
The address and count keywords are available only in privileged EXEC mode.
Command History
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.
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. The range is 1 to 4094.
| 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 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.
Kommentare zu diesen Handbüchern