Users Guide
Example
(Overlapping Ports)
DellEMC(conf)# interface range tengigabitethernet 2/3 - 2/11,
tengigabitethernet 2/3 - 2/23
DellEMC(conf-if-range-te-2/3-2/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
conguration 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 congured. To congure commands specic to VLAN and port-channel only those
respective interfaces should be congured in a particular range.
Example (Single
Range)
This example shows a single range bulk conguration.
DellEMC(config)# interface range tengigabitethernet 5/3 - 5/23
DellEMC(config-if-range-te-5/3-5/23)# no shutdown
DellEMC(config-if-range-te-5/3-5/23)#
Example (Multiple
Range)
This example shows how to use commas to add dierent 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-1/2,te-5/1-5/23)# no shutdown
DellEMC(config-if-range-te-1/1-1/2,te-5/1-5/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 - 1/23,
tengigabitethernet 1/1 – 1/2,
Vlan 2–100, Port 1–25
DellEMC(config-if-range-te-1/1-1/2,te-5/1-5/23,vl-2-100,po-1-25)# no shutdown
DellEMC(config-if-range)#
Example (Batch
Mode Conguration)
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 — congure a port channel group.
Interfaces 791