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.
- Enter global configuration mode.
- Configure a VLAN group.In the example, VLAN group 1 is configured and VLANs from 2 through 257 are assigned to the VLAN group.
- 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
- (Optional) Remove individual VLANs or a range of VLANs.
- Add ports to the VLAN
group.Ports 1/1/1 and 1/1/2 are added as tagged ports for the VLAN group.