show mac address-table dynamic
show mac address-table dynamic
Use the show mac address-table dynamic user EXEC command to display only dynamic MAC address
table entries.
Syntax Description
address mac-address
interface interface-id
vlan 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 dynamic command:
Switch> show mac address-table dynamic
------------------------------------------
Vlan
----
1
1
Total Mac Addresses for this criterion: 2
Catalyst 2960 Switch Command Reference
2-398
show mac address-table dynamic [address mac-address] [interface interface-id] [vlan vlan-id]
[ | {begin | exclude | include} expression]
(Optional) Specify a 48-bit MAC address; the valid format is H.H.H
(available in privileged EXEC mode only).
(Optional) Specify an interface to match; 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 introduced.
Mac Address Table
Mac Address
Type
-----------
----
0030.b635.7862
DYNAMIC Gi0/2
00b0.6496.2741
DYNAMIC Gi0/2
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
Ports
-----
OL-8604-04