Interface Range Vlan - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

56
1057
Example
The following example configures VLAN 1 with IP address 131.108.1.27 and
subnet mask 255.255.255.0.
switchxxxxxx(config)#
switchxxxxxx(config-if)#

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)#
Virtual Local Area Network (VLAN) Commands
interface vlan
1
131.108.1.27 255.255.255.0
ip address
interface range vlan
OL-32830-01 Command Line Interface Reference Guide
221-228, vlan 889

Advertisement

Table of Contents
loading

Table of Contents