CLI Guide

Version Description
7.5.1.0 Introduced on the C-Series.
6.1.1.0 Introduced on the E-Series.
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 Points 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.
Example (If
atleast one port
is configured)
DellEMC(conf)# interface range tengigbitethernet 2/1 - 11, fortyGigE
3/3, tengigbitethernet 3/10
% Warning: Non-existing ports (not configured) are ignored by
interface-range
Example (If no
ports are
configured within
the specified
interface range)
DellEMC(conf)# interface range tengigbitethernet 2/1 - 11, fortyGigE
3/3, tengigbitethernet 3/10
% Error: No port is configured in interface range
Example
(Configuration
Terminal Batch
Mode)
DellEMC(conf-b)#interface range te 1/1-4
DellEMC(conf-if-range-te-1/1-4)#
Example
(Multiple Ports)
DellEMC(conf)# interface range tengigabitethernet 2/10 - 23,
tengigabitethernet 2/12 - 17
DellEMC(conf-if-range-te-2/10-23)#
Example
(Overlapping
Ports)
DellEMC(conf)# interface range tengigabitethernet 2/3 - 11,
tengigabitethernet 2/3 - 23
DellEMC(conf-if-range-te-2/3-23)#
Usage
Information
Only VLAN and port-channel interfaces created using the interface vlan and interface port-
channel commands can be used in the interface range command.
Use the show running-config command to display the VLAN and port-channel interfaces. VLAN or
port-channel interfaces that are not displayed in the show running-config command cannot be used
with the bulk configuration feature of the interface range command. You cannot create virtual
interfaces (VLAN, Port-channel) using the interface range command.
NOTE: If a range has VLAN, physical and port-channel interfaces, only commands related to physical
interfaces can be bulk configured. To configure commands specific to VLAN and port-channel only
those respective interfaces should be configured in a particular range.
Example (Single
Range)
This example shows a single range bulk configuration.
DellEMC(config)# interface range tengigabitethernet 5/3 - 23
DellEMC(config-if-range-te-5/3-23)# no shutdown
DellEMC(config-if-range-te-5/3-23#
Interfaces 681