API Guide

Table Of Contents
The interface range command allows you to create an interface range allowing other commands to be applied to that range of
interfaces.
The interface range prompt offers the interface (with slot and port information) for valid interfaces. The maximum size of an interface
range prompt is 32. If the prompt size exceeds this maximum, it displays (...) at the end of the output.
NOTE: Non-existing interfaces are excluded from the interface range prompt. In the following example, 10 Gigabit 3/0
and VLAN 1000 do not exist.
NOTE: When creating an interface range, interfaces appear in the order they were entered and are not sorted.
The show range command is available under Interface Range mode. This command allows you to display all interfaces that have been
validated under the interface range context.
The show configuration command is also available under Interface Range mode. This command allows you to display the running
configuration only for interfaces that are part of interface range.
Bulk Configuration Examples
Use the interface range command for bulk configuration.
Create a Single-Range
Create a Multiple-Range
Exclude Duplicate Entries
Exclude a Smaller Port Range
Overlap Port Ranges
Commas
Add Ranges
Create a Single-Range
The following is an example of a single range.
Dell(config)# interface range tengigabitethernet 0/1 - 23
Dell(config-if-range-te-0/1-23)# no shutdown
Dell(config-if-range-te-0/1-23)#
The following is an example of single range on PE ports.
Dell(config)#interface range peGigE 1/0/4-47
Dell(conf-if-range-pegi-1/0/4-47)# no shut
Dell(conf-if-range-pegi-1/0/4-47)#
Create a Multiple-Range
The following is an example of multiple range.
Dell(conf)#interface range tengigabitethernet 0/5 - 10 , tengigabitethernet 0/1 , vlan 1
Dell(conf-if-range-te-0/5-10,te-0/1,vl-1)#
Exclude Duplicate Entries
The following is an example showing how duplicate entries are omitted from the interface-range prompt.
Dell(conf)#interface range vlan 1 , vlan 1 , vlan 3 , vlan 3
Dell(conf-if-range-vl-1,vl-3)#
Dell(conf)#interface range tengigabitethernet 2/0 - 23 , tengigabitethernet 2/0 - 23 ,
tengigabitethernet 2/0 - 23
Dell(conf-if-range-te-2/0-23)#
412
Interfaces