CLI Guide

Table Of Contents
Example (If
atleast one port
is configured)
DellEMC(conf)# interface range tengigbitethernet 2/10/1 - 2/11/2,
fortyGigE 3/3, tengigbitethernet 3/10/1
% Warning: Non-existing ports (not configured) are ignored by
interface-range
DellEMC(conf)# interface range tengigbitethernet 1/10/1 - 1/12/4,
fortyGigE 1/13/1, tengigbitethernet 1/15/1
% 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/10/1 - 2/11/2,
fortyGigE 3/3, tengigbitethernet 3/10/1
% Error: No port is configured in interface range
DellEMC(conf)# interface range tengigbitethernet 1/10/1 - 1/12/4,
fortyGigE 1/13/1, tengigbitethernet 1/15/1
% 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)#
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 1/1/1 - 1/12/3,
tengigabitethernet 1/3/2 - 1/9/4
DellEMC(conf-if-range-te-1/1/1-1/12/3)#
Example
(Overlapping
Ports)
DellEMC(conf)# interface range tengigabitethernet 1/1/1 - 1/10/1,
tengigabitethernet 1/1/1 - 1/20/3
DellEMC(conf-if-range-te-1/1/1-1/20/3)#
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 1/1/1 - 1/7/3
DellEMC(config-if-range-te-1/1/1-1/7/3)# no shutdown
Example
(Multiple Range)
This example shows how to use commas to add different interface types to a range of interfaces.
DellEMC(config-if)# interface range tengigabitethernet 1/1/1 - 1/20/3,
hundredGigE 1/24 - 1/29
DellEMC(config-if-range-te-1/1/1-1/20/3,hu-1/24-1/29)# no shutdown
Interfaces 665