beautypg.com

Multi-range vlan – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 353

background image

Multi-range VLAN

The multi-range VLAN feature allows users to use a single command to create and configure multiple
VLANs. These VLANs can be continuous, for example from 2 to 7 or discontinuous, for example, 2 4 7.

NOTE
The maximum number of VLANs you can create or configure with a single command is 64.

Creating a multi-range VLAN

To create more than one VLAN with a single command, you can specify the VLAN number and range.

Syntax: [no] vlan num to num

The num parameter specifies the VLAN ID.

To create a continuous range of VLANs, enter command such as the following.

device(config)#vlan 2 to 7

device(config-mvlan-2-7)#

Syntax: [no] vlan num to num

To create discontinuous VLANs, enter command such as the following.

device(config)#vlan 2 4 7

device(config-mvlan-2*7)#exit

Syntax: [no] vlan num num num

You can also create continuous and discontinuous VLANs. To create continuous and discontinuous
VLANs, enter command such as the following.

device(config)#vlan 2 to 7 20 25

device(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.

device(config)#no vlan 2 to 7

Syntax: [no] vlan num to num

To delete discontinuous VLANs, enter command such as the following.

device(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.

device(config)#no vlan 2 to 7 20 25

Syntax: [no] vlan num to num num

Multi-range VLAN

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

353

53-1003086-04