Owner's Manual

VLAN Commands 455
Syntax
interface range vlan
{
vlan-range | all
}
vlan-range
—A list of valid VLAN IDs to add. Separate non consecutive VLAN IDs with a
comma and no spaces; a hyphen designates a range of IDs.
all
—All existing static VLANs.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
Commands under the interface range context are executed independently on each interface
in the range. If the command returns an error on one of the interfaces, an error message is
displayed and execution continues on other interfaces.
Example
The following example groups VLAN 221 till 228 and VLAN 889 to receive the same command.
name
The
name
interface configuration command adds a name to a VLAN. To remove the VLAN name
use the
no
form of this command.
Syntax
name
string
no name
string
—Unique name, up to 32 characters in length, to be associated with this VLAN.
Default Configuration
No name is defined.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
The VLAN name should be unique.
Console (config)# interface range vlan 221-228,889
Console (config-if)#