Chapter
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.
Syntax Description
bridge-domain number (Optional) Displays information for a specific Ethernet Flow Point bridge
vlan vlan-id
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(52)EY
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
----
1
100
200
Related Commands
Command
mac address-table learning
OL-28238-01
show mac address-table learning [bridge-domain number] [vlan vlan-id] [ | {begin | exclude |
include} expression]
domain. The range is 1 to 8000.
(Optional) Displays information 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.
Learning Status
---------------
yes
yes
no
Description
Configures MAC address learning on a VLAN or bridge domain.
Cisco ME 3800X and ME 3600X Switch Command Reference
show mac address-table learning
-117