Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
show mac address-table
Use the show mac address-table user EXEC command to display a specific MAC address table static
and dynamic entry or the MAC address table static and dynamic entries on a specific interface or VLAN.
Syntax Description
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
Usage Guidelines
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
------------------------------------------
Vlan
----
All
All
All
All
All
All
All
All
All
All
All
1
Total Mac Addresses for this criterion: 12
78-16882-01
show mac address-table [ | {begin | exclude | include} expression]
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the 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.
Mac Address Table
Mac Address
Type
-----------
----
0000.0000.0001
STATIC
0000.0000.0002
STATIC
0000.0000.0003
STATIC
0000.0000.0009
STATIC
0000.0000.0012
STATIC
0180.c200.000b
STATIC
0180.c200.000c
STATIC
0180.c200.000d
STATIC
0180.c200.000e
STATIC
0180.c200.000f
STATIC
0180.c200.0010
STATIC
0030.9441.6327
DYNAMIC
Ports
-----
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
Gi0/4
Catalyst 2960 Switch Command Reference
show mac address-table
2-329