1-53
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
interface range
interface range
To execute commands on multiple subinterfaces at the same time, use the
interface range
command in
global configuration mode.
interface range
{
type
number
[
-
interface-number
] [
,
] . . .
type
number
|
macro
word
}
no interface range
type
number
Syntax Description
Command Default
No interface range is set.
Command Modes
Global configuration (config)
Command History
Usage Guidelines
Configuration Changes
All configuration changes made to a range of subinterfaces are saved to NVRAM, but the range itself
does not get saved to NVRAM. Use the
define interface range
command to create and save a range.
You can enter the range in two ways:
•
Specifying up to five interface ranges
•
Specifying a previously defined macro
You can specify either the interfaces or the name of a range macro. A range must consist of the same
interface type, and the interfaces within a range cannot span slots.
You cannot specify both the
interface range
and
macro
keywords in the same command. After creating
a macro, the command does not allow you to enter additional ranges. Likewise, if you have already
specified an interface range, the command does not allow you to enter a macro.
VLANs
When you define a VLAN, valid values are from 1 to 4094. The last VLAN number cannot exceed 4094.
type number
Interface type and interface or subinterface number. For more information
about the numbering syntax for your networking device, use the question
mark (?) online help function.
•
You can enter any number of interface type and numbers.
-
interface-number
(Optional) Ending interface number.
,
Allows you to configure more interface types.
macro
Specifies a macro keyword.
word
Previously defined keyword, up to 32 characters long.
Release
Modification
15.1(2)SNG
Support for this command was introduced on the Cisco ASR 901 router.