Alcatel-Lucent ls 6248 用户指南
VLAN Commands
665
4
Example
The following example configures VLAN 1 with IP address 131.108.1.27 and subnet
mask 255.255.255.0.
mask 255.255.255.0.
Related Commands
interface range vlan
The
interface range vlan
Global Configuration mode command enables
simultaneously configuring multiple VLANs.
Syntax
interface range vlan
{vlan-range | all}
Parameters
• vlan-range — Specifies a list of VLAN IDs to be added. Separate
nonconsecutive VLAN IDs with a comma and no spaces; a hyphen
designates a range of IDs.
designates a range of IDs.
•
all
— All existing static VLANs.
Default Setting
This command has no default configuration.
Command Mode
Global Configuration mode
Command Usage
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.
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.
Example
The following example groups VLANs 221, 228 and 889 to receive the same
command.
command.
Related Commands
Console(config)# interface vlan 1
Console(config-if)#
Console(config-if)#
ip address
131.108.1.27 255.255.255.0
Console(config)# interface range vlan 221-228,889
Console(config-if)#
Console(config-if)#