Specifications

2-680
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
show mac address-table learning
show mac addr ess-table learn ing
To display the status of MAC address learning f or all VLANs or a specified VL AN, use the
show mac address-table learning user EXEC command.
show mac address-table learning [vlan vlan-id ] [ | {begin | exclude | include} expression]
Syntax Description
Defaults MAC a ddress learning is enab led on all VLANs.
Command Modes User EXEC
Usage Guidelines To dis play configured VLA Ns, and whether MAC address lea rning is enabled or disa bled, use the
show mac address-table learning command without keywords. .
To display the learning status on an indi vidual VLAN, use the command w ith a specific VLAN ID.
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 exampl e shows that MAC address learni ng is disabled on VLAN 200:
Switch> show mac address-table learning
VLAN Learning Status
---- ---------------
1 yes
100 yes
200 no
Related Commands
vlan vlan-id (Optional) Displays information for a specific VLAN. The range is 1 to
4094.
| begin (Optional) Displays the line that matches the expression.
| exclude (Optional) Displays excluded lines that match the expression.
| include (Optional) Displays included lines that match the specified expression.
expression (Optional) Specifies the expression in the output as a reference point.
Command Description
mac address-table learning vlan Enables or disables MAC address learning on a VLAN.