Show mac address-table learning – Dell POWEREDGE M1000E User Manual

Page 634

Advertising
background image

2-604

Cisco Catalyst Blade Switch 3120 for HP Command Reference

OL-12248-03

Chapter 2 Cisco Catalyst Blade Switch 3120 for HP 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] [ | {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 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.

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.

| 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(46)SE

This command was introduced.

Command

Description

mac address-table learning vlan

Enables or disables MAC address learning on a VLAN.

Advertising