Show Mac Address-Table Learning - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

show mac address-table learning

show mac address-table learning
To display the status of MAC address learning for all VLANs or a specified VLAN, use the
show mac address-table learning user EXEC command.
Syntax Description
vlan vlan-id
| begin
| exclude
| include
expression
Defaults
MAC address learning is enabled on all VLANs.
Command Modes
User EXEC
Command History
Release
12.2(54)SG
Usage Guidelines
To display configured VLANs, and whether MAC address learning is enabled or disabled, use the
show mac address-table learning command without keywords. .
To display the learning status on an individual VLAN, use the command with 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 example shows 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 vlan
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-832
show mac address-table learning [vlan vlan-id] [ | {begin | exclude | include} expression]
(Optional) Displays information for a specific VLAN. The range is 1 to
4094.
(Optional) Displays the line that matches the expression.
(Optional) Displays excluded lines that match the expression.
(Optional) Displays included lines that match the specified expression.
(Optional) Specifies the expression in the output as a reference point.
Modification
This command was modified to support the learning disable feature on the
Catalyst 4500 series switch.
Learning Status
---------------
yes
yes
no
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
Description
Enables or disables MAC address learning on a VLAN.
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents