Configuration Guide User guide
FastIron Configuration Guide 567
53-1002494-02
Enabling port-based VLANs
Displaying information about flow-based MACs
The show mac-address command includes information related to flow-based MAC address
learning. The following shows an example show mac output.
Brocade# show mac
Total active entries from all ports = 15
MAC-Address Port Type Index
0000.0000.0001 1/1 Dynamic NA
0000.0000.0002 1/1 Dynamic NA
In the above example, since both MAC address entries are flow-based and are located on different
packet processors (hardware index), the Index field displays NA (not applicable).
Syntax: show mac
To display all of the packet processors that have a particular flow-based MAC address, use the
show mac-address vlan command.
Brocade#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.
Brocade(config)#vlan 222 by port
Brocade(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.