CLI Guide

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 5/1 - 5/23,
tengigabitethernet 1/1 - 1/2
DellEMC(config-if-range-te-1/1-2,te-5/1-23)# no shutdown
DellEMC(config-if-range-te-1/1-2,te-5/1-23)#
Example
(Multiple Range)
This example shows how to use commas to add VLAN and port-channel interfaces to the range.
DellEMC(config-if)# interface range tengigabitethernet 5/1 - 23,
tengigabitethernet 1/1 2,
Vlan 2100, Port 125
DellEMC(config-if-range-te-1/1-2,te-5/1-23,vl-2-100,po-1-25)# no shutdown
DellEMC(config-if-range-te-5/1-24,te-1/1-2,vl-2-100,po-1-25)#
Example (Batch
Mode
Configuration)
Primary VLT
DellEMC(conf-b)#int range Tengigabitethernet 3/0 - 5
DellEMC(conf-if-range-te-3/0-5)#mtu 4500
DellEMC(conf-if-range-te-3/0-5)#exit
DellEMC(conf-b)#show conf
interface range tengigabitethernet 3/0 - 5
mtu 4500
DellEMC(conf-b)#commit
DellEMC(conf-b)#Dec 6 11:30:45 %RPM1-P:CP %CLIBATCH-6-
CLI_BATCH_CONFIG_IN_PROGRESS_TRAP: Batch configuration commit is in
progress
Dec 6 11:30:45 %RPM1-P:CP %CLIBATCH-6-CLI_BATCH_CONFIG_COMPLETE_TRAP:
Batch configuration commit is success
Secondary VLT
Dec 6 10:43:17 %RPM1-P:CP %CLIBATCH-6-
CLI_BATCH_CONFIG_IN_PROGRESS_TRAP: Batch configuration commit is in
progress
Dec 6 10:43:18 %RPM1-P:CP %CLIBATCH-6-CLI_BATCH_CONFIG_COMPLETE_TRAP:
Batch configuration commit is success
Related
Commands
interface port-channel configure a port channel group.
interface vlan configure a VLAN interface.
show config (from INTERFACE RANGE mode) display the bulk configuration interfaces.
show range display the bulk configuration ranges.
interface range macro (define) define a macro for an interface-range.
interface range macro (define)
Defines a macro for an interface range and then saves the macro in the running configuration.
Syntax
define interface range macro name interface , interface , ...
Parameters
name
Enter up to 16 characters for the macro name.
interface,
interface,...
Enter the keywords interface range and the interface information. 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.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the
slot/port information.
682 Interfaces