Show Mac Address-Table Learning - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

show mac address-table learning

show mac address-table learning
Syntax Description
Command Modes
Command History
Usage Guidelines
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-680
Downloaded from
www.Manualslib.com
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] [ | {begin | exclude | include} expression]
vlan vlan-id
(Optional) Display 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.
User EXEC
Release
Modification
12.2(53)SE2
This command was introduced.
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.
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.
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
Command
mac address-table learning vlan
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Description
Enables or disables MAC address learning on a VLAN.
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents