Clearing flow-based mac address entries, Enabling port-based vlans – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 29

Advertising
background image

To display all of the packet processors that have a particular flow-based MAC address, use the show
mac-address vlan
command.

device#show mac-address vlan 1 0000.0000.0001

Total active entries from all ports = 16

MAC-Address Port Type Index

0000.0000.0001 1/1 Dynamic NA

Present in following devices (at hw index) :-

0 (8196 ) 4 (8196 )

In the above example, the MAC address 0000.0000.0001 is programmed in packet processors 0 and 4,
and the hardware index is 8196.

Syntax: show mac-address vlan vlan-num mac-address

Clearing flow-based MAC address entries

To remove dynamically-learned MAC addresses from the MAC table, use the CLI command clear
mac
. This command clears all dynamically-learned MACs from the hardware and software MAC tables.

Enabling port-based VLANs

When using the CLI, port and protocol-based VLANs are created by entering one of the following
commands at the global CONFIG level of the CLI.

To create a port-based VLAN, enter commands such as the following.

device(config)#vlan 222 by port

device(config)#vlan 222 name Mktg

Syntax: vlan num by port

Syntax: vlan num name string

The num parameter specifies the VLAN ID. The valid range for VLAN IDs starts at 1 on all systems but
the upper limit of the range differs depending on the device. In addition, you can change the upper limit
on some devices using the system max-vlans... command.

The string parameter is the VLAN name and can be a string up to 32 characters. You can use blank
spaces in the name if you enclose the name in double quotes (for example, "Product Marketing".)

You can configure up to 1023 port-based VLANs on a device (4063 on ICX 6650) running Layer 2 code
or 4061 port-based VLANs on a device running Layer 3 code. Each port-based VLAN can contain either
tagged or untagged ports. A port cannot be a member of more than one port-based VLAN unless the
port is tagged. On both device types, valid VLAN IDs are 1 - 4095. You can configure up to the
maximum number of VLANs within that ID range.

NOTE
VLAN IDs 4087, 4090, and 4093 are reserved for Brocade internal use only. VLAN 4094 is reserved for
use by Single STP. Also, if you are running an earlier release, VLAN IDs 4091 and 4092 may be
reserved for Brocade internal use only. If you want to use VLANs 4091 and 4092 as configurable
VLANs, you can assign them to different VLAN IDs. For more information, refer to

Assigning different

VLAN IDs to reserved VLANs 4091 and 4092

on page 373

Clearing flow-based MAC address entries

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

29

53-1003086-04

Advertising