Mac address-table learning vlan – Dell POWEREDGE M1000E User Manual

Page 330

Advertising
background image

2-300

Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command Reference

OL-13271-03

Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commands

mac address-table learning vlan

mac address-table learning vlan

Use the mac address-table learning global configuration command to enable MAC address learning on
a VLAN. This is the default state. Use the no form of this command to disable MAC address learning
on a VLAN to control which VLANs can learn MAC addresses.

mac address-table learning vlan vlan-id

no mac address-table learning vlan vlan-id

Syntax Description

Defaults

By default, MAC address learning is enabled on all VLANs.

Command Modes

Global configuration

Command History

Usage Guidelines

When you control MAC address learning on a VLAN, you can manage the available MAC address table
space by controlling which VLANs, and therefore which ports, can learn MAC addresses.

You can disable MAC address learning on a single VLAN (for example, no mac address-table learning
vlan 223
) or on a range of VLANs (for example, no mac address-table learning vlan 1-10, 15).

Before you disable MAC address learning, be sure that you are familiar with the network topology and
the switch system configuration. Disabling MAC address learning on a VLAN could cause flooding in
the network. For example, if you disable MAC address learning on a VLAN with a configured switch
virtual interface (SVI), the switch floods all IP packets in the Layer 2 domain. If you disable MAC
address learning on a VLAN that includes more than two ports, every packet entering the switch is
flooded in that VLAN domain. We recommend that you disable MAC address learning only in VLANs
that contain two ports and that you use caution before disabling MAC address learning on a VLAN with
an SVI.

You cannot disable MAC address learning on a VLAN that the switch uses internally. If the VLAN ID
that you enter in the no mac address-table learning vlan vlan-id command is an internal VLAN, the
switch generates an error message and rejects the command. To view used internal VLANs, enter the
show vlan internal usage privileged EXEC command.

If you disable MAC address learning on a VLAN configured as a private VLAN primary or a secondary
VLAN, the MAC addresses are still learned on the other VLAN (primary or secondary) that belongs to
the private VLAN.

You cannot disable MAC address learning on an RSPAN VLAN. The configuration is not allowed.

vlan-id

Specify a single VLAN or a range of VLANs separated by a hyphen or
comma. .Valid VLAN IDs are 1 to 4094. It cannot be an internal VLAN.

Release

Modification

12.2(46)SE

This command was introduced.

Advertising