Reference Guide
Interfaces | 575
interface range
c e s
This command permits configuration of a range of interfaces to which subsequent commands are
applied (bulk configuration). Using the interface range command, identical commands can be
entered for a range of interface.
Syntax
interface range interface , interface , ...
Parameters
Defaults
This command has no default behavior or values.
Command Modes
CONFIGURATION
Command
History
Usage
Information
When creating an interface range, interfaces appear in the order they are entered; they are not sorted.
The command verifies that interfaces are present (physical) or configured (logical). Important things to
remember:
• Bulk configuration is created if at least one interface is valid.
• Non-existing interfaces are excluded from the bulk configuration with a warning message.
• The interface range prompt includes interface types with slot/port information for valid interfaces.
The prompt allows for a maximum of 32 characters. If the bulk configuration exceeds 32
characters, it is represented by an ellipsis ( ... ).
• When the interface range prompt has multiple port ranges, the smaller port range is excluded from
the prompt.
• If overlapping port ranges are specified, the port range is extended to the smallest start port and the
biggest end port.
interface ,
interface , ...
Enter the keyword interface range and one of the interfaces — slot/port,
port-channel or VLAN number. Select the range of interfaces for bulk configuration.
You can enter up to six comma separated ranges—spaces are not required between the
commas. Comma-separated ranges can include VLANs, port-channels and physical
interfaces.
Slot/Port information must contain a space before and after the dash. For example,
interface range gigabitethernet 0/1 - 5 is valid; interface range
gigabitethernet 0/1-5 is not valid.
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet
followed by the slot/port information.
• For a Port Channel interface, enter the keyword
port-channel followed by a
number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 32 for EtherScale, 1 to 255 for TeraScale and 1 to 512 for
ExaScale.
• For a SONET interface, enter the keyword
sonet followed by the slot/port
information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
• For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
Version 8.2.1.0 Support for 4093 VLANs on E-Series ExaScale. Prior releases supported 2094.
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.0 Introduced for E-Series