Users Guide

Table Of Contents
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 twentyFiveGigE 1/1 - 1/4 , twentyFiveGigE 1/1 - 1/2
DellEMC(conf-if-range-tf-1/1-1/4)#
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 twentyFiveGigE 1/1 - 1/3 , twentyFiveGigE 1/1 - 1/5
DellEMC(conf-if-range-tf-1/1-1/5)#
Commas
The following is an example of how to use commas to add different interface types to a range of interfaces.
Example of Adding Interface Ranges
DellEMC(config-if)# interface range twentyFiveGigE 1/1 - 1/4, Hu 1/49 - 1/51
DellEMC(config-if-range-tf-1/1-1/4,Hu-1/49-1/51)# no shutdown
Add Ranges
The following example shows how to use commas to add VLAN and port-channel interfaces to the range.
Example of Adding VLAN and Port-Channel Interface Ranges
DellEMC(config-if-range-tf-1/1-1/2)# interface range Vlan 2 100 , Port 1 25
DellEMC(config-if-range-tf-1/1-1/2-vl-2-100-po-1-25)# no shutdown
DellEMC(config-if-range-hu-1/49-1/51)# interface range Vlan 2 100 , Port 1 25
DellEMC(config-if-range-hu-1/49-1/51-vl-2-100-po-1-25)# no shutdown
Defining Interface Range Macros
You can define an interface-range macro to automatically select a range of interfaces for configuration.
Before you can use the macro keyword in the interface-range macro command string, define the macro.
To define an interface-range macro, use the following command.
Defines the interface-range macro and saves it in the running configuration file.
CONFIGURATION mode
Interfaces
379