2-545
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
show mac address-table learning
show mac address-table learning
Use the
show mac address-table learning
user EXEC command to display the status of MAC address
learning for all VLANs or the specified VLAN.
show mac address-table
learning
[
vlan
vlan-id
]
Syntax Description
Command Modes
User EXEC
Command History
Usage Guidelines
Use the
show mac address-table learning
command without any keywords to display configured
VLANs and whether MAC address learning is enabled or disabled on them. The default is that MAC
address learning is enabled on all VLANs. Use the command with a specific VLAN ID to display the
learning status on an individual VLAN.
Examples
This is an example of output from the
show mac address-table
learning
user EXEC command showing
that MAC address learning 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) Display information for a specific VLAN. The range is 1 to 4094.
Release
Modification
12.2(25)SEG
This command was introduced.
Command
Description
vlan
Enables or disables MAC address learning on a VLAN.