
VLAN Commands
401
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
inte
r
face
r
ange vlan
The
interface range vlan
Global Configuration mode command enables simultaneously
configuring multiple VLANs.
Syntax
interface range vlan
{
vlan-range
|
all
}
•
vlan-range
— Specifies a list of VLAN IDs to be added. 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 of the command continues on the other interfaces.
•
The following commands are not supported with the
interface range vlan
command:
private-
vlan primary
,
private-vlan community
,
private-vlan isolated
and
ip internal-usage-vlan
.
Example
The following example groups VLANs 221, 228 and 889 to receive the same command.
na
m
e
The
name
Interface Configuration mode 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 to be associated with this VLAN. (Range: 1-32 characters)
Console(config)#
interface range vlan
221-228,889
Console(config-if)#