Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
show mac address-table vlan
Use the show mac address-table vlan user EXEC command to display the MAC address table
information for the specified VLAN.
Syntax Description
vlan-id
| 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 vlan 1 command:
Switch> show mac address-table vlan 1
------------------------------------------
Vlan
----
1
1
1
1
1
1
1
1
1
Total Mac Addresses for this criterion: 9
78-16882-01
show mac address-table vlan vlan-id [ | {begin | exclude | include} expression]
(Optional) Display addresses for a specific VLAN. The range is 1 to 4094.
(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
-----------
----
0100.0ccc.cccc
STATIC
0180.c200.0000
STATIC
0100.0ccc.cccd
STATIC
0180.c200.0001
STATIC
0180.c200.0002
STATIC
0180.c200.0003
STATIC
0180.c200.0005
STATIC
0180.c200.0006
STATIC
0180.c200.0007
STATIC
Ports
-----
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
Catalyst 2960 Switch Command Reference
show mac address-table vlan
2-345