-117
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
show mac address-table learning
show mac address-table learning
To display the status of MAC address learning for all VLANs and bridge domains or the specified VLAN
or bridge domain, use the show mac address-table learning command in user EXEC mode.
show mac address-table learning [bridge-domain number] [vlan vlan-id] [ | {begin | exclude |
include} expression]
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 or bridge domains and whether MAC address learning is enabled or disabled on them. The
default is that MAC address learning is enabled on all VLANs and bridge domains. Use the command
with a specific VLAN ID or bridge domain number to display the learning status on an individual VLAN
or bridge domain.
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 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
bridge-domain number (Optional) Displays information for a specific Ethernet Flow Point bridge
domain. The range is 1 to 8000.
vlan vlan-id (Optional) Displays information 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.2(52)EY This command was introduced.
Command Description
mac address-table learning Configures MAC address learning on a VLAN or bridge domain.