1-54
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
interface range
You cannot use the
interface range
command to create switch virtual interfaces (SVIs) in that particular
range. You can use the
interface range
command only to configure existing VLAN SVIs within the
range. To display VLAN SVIs, enter the
show running-config
command. VLANs not displayed cannot
be used in the
interface range
command.
The commands entered under the
interface range
command are applied to all existing VLAN SVIs
within the range.
You can enter the command
interface range create vlan
x
-
y
to create all VLANs in the specified range
that do not already exist. If you are using discontiguous VLANs, you can use the
interface range vlan
command to configure multiple SVIs without creating unneeded SVIs and wasting interface descriptor
blocks (IDBs).
After specifying a VLAN range, you can continue using the
interface range
command to specify
another interface (ATM, Fast Ethernet, Gigabit Ethernet, loopback, port-channel, or tunnel).
Note
VLANs 4093, 4094, and 4095 are reserved and cannot be configured by the user.
Examples
interface range Gigabit Ethernet Example
The following example shows how to set a Gigabit Ethernet range:
Router(config)#
interface range gigabitethernet 0/1 - 3
Related Commands
Command
Description
define interface range
Defines an interface range macro.
encapsulation dot1q
Applies a unique VLAN ID to each subinterface within the range.