2-319
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
show mac address-table
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.
show mac address-table
[ | {
begin
|
exclude
|
include
}
expression
]
Syntax Description
Command Modes
User EXEC
Command History
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
Mac Address Table
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
All 0000.0000.0001 STATIC CPU
All 0000.0000.0002 STATIC CPU
All 0000.0000.0003 STATIC CPU
All 0000.0000.0009 STATIC CPU
All 0000.0000.0012 STATIC CPU
All 0180.c200.000b STATIC CPU
All 0180.c200.000c STATIC CPU
All 0180.c200.000d STATIC CPU
All 0180.c200.000e STATIC CPU
All 0180.c200.000f STATIC CPU
All 0180.c200.0010 STATIC CPU
1 0030.9441.6327 DYNAMIC Gi0/4
Total Mac Addresses for this criterion: 12
| begin
(Optional) Display begins with the line that matches the
expression
.
| exclude
(Optional) Display excludes lines that match the
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.2(46)EY
This command was introduced.