Configuring a VLAN Group

You can configure a VLAN group and add or remove individual VLANs or a range of VLANs from the VLAN group.
Beginning with FastIron 08.0.80, configuring dual-mode with untagged VLAN as VLAN group member VLAN on VLAN group member interfaces is not allowed. You can configure the VLAN group member interface as untagged in any other VLAN, but not in VLAN group member VLANs.
  1. Enter global configuration mode.
    device# configure terminal
  2. Configure a VLAN group.
    device(config)# vlan-group 1 vlan 2 to 257
    In the example, VLAN group 1 is configured and VLANs from 2 through 257 are assigned to the VLAN group.
  3. Add individual VLANs or a range of VLANs.
    device(config)# vlan-group 2 vlan 1000 to 1250
    device(config-vlan-group-2)# add-vlan 1251 to 1500
    device(config-vlan-group-2)# add-vlan 1501 to 1750
    To add more than 256 VLANs, use the add-vlan command from the interface configuration mode.
  4. (Optional) Remove individual VLANs or a range of VLANs.
    device(config-vlan-group-2)# remove-vlan 900 to 1000
    To remove more than 256 VLANs, use the remove-vlan command from the interface configuration mode.
  5. Add ports to the VLAN group.
    device(config-vlan-group-2)# tagged 1/1/1 to 1/1/2
    Ports 1/1/1 and 1/1/2 are added as tagged ports for the VLAN group.

The following example shows how to configure a VLAN group.

device# configure terminal
device(config)# vlan-group 2 vlan 1000 to 1250
device(config-vlan-group-2)# add-vlan 1251 to 1500
device(config-vlan-group-2)# remove-vlan 900 to 1000
device(config-vlan-group-2)# tagged 1/1/1 to 1/1/2