2-469
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
show mac address-table interface
show mac address-table interface
Use the show mac address-table interface user command to display the MAC address table information
for the specified interface in the specified VLAN.
show mac address-table interface interface-id [vlan vlan-id] [ | {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 interface command:
Switch> show mac address-table interface gigabitethernet0/2
Mac Address Table
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0030.b635.7862 DYNAMIC Gi0/2
1 00b0.6496.2741 DYNAMIC Gi0/2
Total Mac Addresses for this criterion: 2
interface-id Specify an interface type; valid interfaces include physical ports and port
channels.
vlan vlan-id (Optional) Display entries for a specific VLAN; the range is 1 to 4094.
| 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.1(19)EA1 This command was introduced.