Virtual Local Area Network (VLAN) Commands
1057
OL-32830-01 Command Line Interface Reference Guide
56
Example
The following example configures VLAN 1 with IP address 131.108.1.27 and
subnet mask 255.255.255.0.
switchxxxxxx(config)#
interface vlan
1
switchxxxxxx(config-if)#
ip address
131.108.1.27 255.255.255.0
56.7 interface range vlan
Use the interface range vlan Global Configuration mode command to configure
multiple VLANs simultaneously.
Syntax
interface range vlan
vlan-range
Parameters
•
vlan-range
—Specifies a list of VLANs. Separate nonconsecutive VLANs
with a comma and no spaces. Use a hyphen to designate a range of VLANs.
Default Configuration
N/A
Command Mode
Global Configuration mode
User Guidelines
Commands under the interface VLAN range context are executed independently
on each VLAN in the range. If the command returns an error on one of the VLANs,
an error message is displayed, and the system attempts to configure the
remaining VLANs.
Example
The following example groups VLANs 221 through 228 and 889 to receive the
same command(s).
switchxxxxxx(config)#
interface range vlan
221-228,
vlan
889
Summary of Contents for 300 Series
Page 2: ......