Concept Guide

Create a Single-Range
The following is an example of a single range.
Example of the interface range Command (Single Range)
DellEMC(config)# interface range tengigabitethernet 1/1 - 1/23
DellEMC(config-if-range-te-1/1-1/23)# no shutdown
DellEMC(config-if-range-te-1/1-1/23)#
Create a Multiple-Range
The following is an example of multiple range.
Example of the interface range Command (Multiple Ranges)
DellEMC(conf)#interface range tengigabitethernet 1/5 - 1/10 , tengigabitethernet 1/1 , vlan
1
DellEMC(conf-if-range-te-1/1,te-1/5-1/10,vl-1)#
Exclude Duplicate Entries
The following is an example showing how duplicate entries are omitted from the interface-range prompt.
Example of the Interface-Range Prompt for Duplicate Interfaces
DellEMC(conf)#interface range vlan 1 , vlan 1 , vlan 3 , vlan 3
DellEMC(conf-if-range-vl-1,vl-3)#
DellEMC(conf)#interface range tengigabitethernet 2/1 - 2/23 , tengigabitethernet 2/1 - 2/23 ,
tengigab 2/1 - 2/23
DellEMC(conf-if-range-te-2/1-23)#
Exclude a Smaller Port Range
The following is an example show how the smaller of two port ranges is omitted in the interface-range prompt.
Example of the Interface-Range Prompt for Multiple Port Ranges
DellEMC(conf)#interface range tengigabitethernet 2/1 - 2/23 , gigab 2/1 - 2/10
DellEMC(conf-if-range-te-2/1-2/23)#
Overlap Port Ranges
The following is an example showing how the interface-range prompt extends a port range from the smallest start port number to the
largest end port number when port ranges overlap. handles overlapping port ranges.
Example of the Interface-Range Prompt for Overlapping Port Ranges
DellEMC(conf)#interface range tengigabitethernet 2/1 - 2/11 , te 2/1 - 2/23
DellEMC(conf-if-range-te-2/1-23)#
Commas
The following is an example of how to use commas to add dierent interface types to a range of interfaces.
Example of Adding Interface Ranges
DellEMC(config-if)# interface range tengigabitethernet 5/1 - 23, tengigabitethernet 1/1 - 2
DellEMC(config-if-range-te-5/1-23,te1/1-2)# no shutdown
DellEMC(config-if-range-te-5/1-23,te1/1-2)#
Interfaces
439