Chapter 2 Cisco IOS Commands
show mac address-table interface
Use the show mac address-table interface user EXEC command to display the MAC address table
information for the specified interface in the specified VLAN.
Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table interface command
Note
replaces the show mac-address-table interface command (with the hyphen).
Syntax Description
interface-id
vlan vlan-id
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.1(4)EA1
12.1(11)EA1
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 interface command:
Switch> show mac address-table interface gigabitethernet0/2
------------------------------------------
Vlan
----
1
1
Total Mac Addresses for this criterion: 2
78-11195-09
show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include}
expression]
Specify an interface type; valid interfaces include physical ports and port
channels.
(Optional) Display entries 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 first introduced.
The show mac-address-table interface command was replaced by the show
mac address-table interface command.
Mac Address Table
Mac Address
Type
-----------
----
0030.b635.7862
DYNAMIC Gi0/2
00b0.6496.2741
DYNAMIC Gi0/2
Ports
-----
Catalyst 3550 Multilayer Switch Command Reference
show mac address-table interface
2-315