vlan-group

Configures a VLAN group.
Syntax
vlan-group num vlan vlan-id [ to vlan-id ]
no vlan-group num vlan vlan-id [ to vlan-id ]
Command Default

A VLAN group is not configured.

Parameters
num
Specifies the group VLAN ID. The values can be from 1 through 32.
vlan vlan-id
Specifies the starting VLAN ID to create a VLAN group.
to vlan-id
Specifies the ending VLAN ID. This is a continuous range of individual VLAN IDs.
Modes

Global configuration mode

Usage Guidelines

Specify the low VLAN ID first and the high VLAN ID second. The command adds all of the specified VLANs to the VLAN group. You can add up to 256 VLANs with the command at one time.

If a VLAN within the range you specify is already configured, or if the range contains more than 256 VLANs, the VLAN group is not created and an error message is displayed.

To add more than 256 VLANs, enter the add-vlan command in VLAN group configuration mode.

To remove one or more VLANs, enter the remove-vlan command in VLAN group configuration mode.

The no form of the command deletes the VLAN group.

Examples

The following example configures VLAN group 1.

device(config)# vlan-group 1 vlan 2 to 255