Chapter 1
CLI Command Reference
interface range
To execute commands on multiple subinterfaces at the same time, use the interface range command in
global configuration mode.
Syntax Description
type number
- interface-number
,
macro
word
Command Default
No interface range is set.
Command Modes
Global configuration (config)
Command History
Release
15.1(2)SNG
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:
•
•
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.
OL-26031-07
interface range {type number [- interface-number] [,] . . .type number | macro word}
no interface range 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.
•
(Optional) Ending interface number.
Allows you to configure more interface types.
Specifies a macro keyword.
Previously defined keyword, up to 32 characters long.
Modification
Support for this command was introduced on the Cisco ASR 901 router.
Specifying up to five interface ranges
Specifying a previously defined macro
You can enter any number of interface type and numbers.
Cisco ASR 901 Aggregation Services Router Command Reference Guide
interface range
1-53