- 23 , tengigab 2/1 - 23Dell(conf-if-range-te-2/1-23)#Exclude a Smaller Port RangeThe following is an example show how the smaller of two port ranges is omitted in the interface-rangeprompt.Example of the Interface-Range Prompt for Multiple Port RangesDell(conf)#interface range tengigabitethernet 2/1 - 23 , tengigab 2/1 - 10Dell(conf-if-range-te-2/1-23)#Overlap Port RangesThe following is an example showing how the interface-range prompt extends a port range from thesmallest start port number to the largest end port number when port ranges overlap. handles overlappingport ranges.Example of the Interface-Range Prompt for Overlapping Port RangesDell(conf)#interface range tengigabitethernet 2/1 - 11 , te 2/1 - 23Dell(conf-if-range-te-2/1-23)#CommasThe following is an example of how to use commas to add different interface types to the range, enablingall TenGigabitEthernet interfaces in the range 5/1 to 5/23 and both Ten Gigabit Ethernet interfaces 1/1and 1/2.Example of Adding Interface RangesDell(config-if)# interface range tengigabitethernet 5/1 - 23,tengigabitethernet 1/1 - 2Dell(config-if-range-te-5/1-23)# no shutdownDell(config-if-range-te-5/1-23)#Add RangesThe following example shows how to use commas to add VLAN and port-channel interfaces to therange.Example of Adding VLAN and Port-Channel Interface RangesDell(config-if-range-te-1/1-2)# interface range Vlan 2 – 100 , Port 1 – 25Dell(config-if-range-te-1/1-2-so-5/1-vl-2-100-po-1-25)# no shutdownDefining Interface Range MacrosYou 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 themacro.To define an interface-range macro, use the following command.• Defines the interface-range macro and saves it in the running configuration file.CONFIGURATION modedefine interface-range macro_name {vlan vlan_ID - vlan_ID} |{{gigabitethernet | tengigabitethernet | fortyGigE} slot/interface -Interfaces 337