Configuration Guide User guide
746 FastIron Configuration Guide
53-1002494-02
VLAN overview
Brocade(config)#vlan 2 to 7 20 25
Brocade(config-mvlan-2*25)#
Syntax: [no] vlan <num> to <num> <num>
Deleting a multi-range VLAN
You can also delete multiple VLANs with a single command.
To delete a continuous range of VLANs, enter command such as the following.
Brocade(config)#no vlan 2 to 7
Syntax: [no] vlan <num> to <num>
To delete discontinuous VLANs, enter command such as the following.
Brocade(config)#no vlan 2 4 7
Syntax: [no] vlan <num> <num> <num>
You can also delete continuous and discontinuous VLANs. To delete continuous and discontinuous
VLANs, enter command such as the following.
Brocade(config)#no vlan 2 to 7 20 25
Syntax: [no] vlan <num> to <num> <num>
If a single multi-range VLAN command contains more than 64 VLANs, the CLI does not add the
VLAN IDs but instead displays an error message. An example is given below.
Brocade(config)#vlan 100 to 356
ERROR -can't have more than 64 vlans at a time in a multi-range vlan command
Configuring a multi-range VLAN
You can configure multiple VLANs with a single command from the multi-range VLAN configuration
level. For example, if you want to add tagged ethernet port 1/1/1 in the VLAN 16 17 20 21 22 23
24, enter the following commands.
Brocade(config)#vlan 16 17 20 to 24
Brocade(config-mvlan-16*24)#tag e 1/1/1
Brocade(config-mvlan-16*24)#
The first command will take you to the multi-range VLAN configuration mode. The second
command will add tagged ethernet port 1/1/1 in the specified VLANs, VLAN 16 17 20 21 22 23
and 24.