beautypg.com

Vlan mac-learning, Vlan, Mac-learning – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 432

background image

376

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

20

Editing VLAN Groups

Command Mode
VLAN Database Configuration

Command Usage

no vlan vlan-id deletes the VLAN.

no vlan vlan-id name removes the VLAN name.

no vlan vlan-id state returns the VLAN to the default state (i.e., active).

You can configure up to 4093 VLANs on the switch.

NOTE

The switch allows 4093 user-manageable VLANs.

Example
The following example adds a VLAN, using VLAN ID 105 and name RD5. The VLAN is activated by
default.

Console(config)#vlan database

Console(config-vlan)#vlan 105 name RD5 media ethernet

Console(config-vlan)#

Related Commands

“show vlan”

on page 384

vlan mac-learning

This command configures the switch to use normal rules for MAC address learning based on the
tagged VLAN ID or the default port VLAN ID (PVID) for untagged packets. Use the no form to flood
ingress traffic to all ports in the specified VLAN.

Syntax

[no] vlan vlan-id mac-learning

vlan-id - ID of the configured VLAN. (Range: 1-4093)

Default Setting
Enabled

Command Mode
Global Configuration

Command Usage

When MAC-address learning is enabled, the switch uses the normal rules for MAC-address
learning. When the switch receives a frame, it classifies the frame in one of two ways. If the
frame is untagged, the switch assigns the frame to an associated VLAN (based on the default
VLAN ID of the receiving port). But if the frame is tagged, the switch uses the tagged VLAN ID to
identify the port broadcast domain of the frame.

When MAC-address learning is disabled, the switch floods all ingress traffic to all ports within
the specified VLAN. This mode is used primarily for testing.