Concept Guide

You can avoid specifying spaces between the range of interfaces, separated by commas, that you congure by using the interface
range command. For example, if you enter a list of interface ranges, such as interface range fo 2/0-1,te 10/0,te 3/0,fo
0/0
, this conguration is considered valid. The comma-separated list is not required to be separated by spaces in between the ranges. You
can associate multicast MAC or hardware addresses to an interface range and VLANs by using the mac-address-table static
multicast-mac-address vlan vlan-id output-range interface command.
Bulk Conguration Examples
Use the interface range command for bulk conguration.
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.
Example of the interface range Command (Single Range)
DellEMC(config)# interface range tengigabitethernet 1/1 - 23
DellEMC(config-if-range-te-1/1-23)# no shutdown
DellEMC(config-if-range-te-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 - 10 , tengigabitethernet 1/1 , vlan 1
DellEMC(conf-if-range-te-1/1,te-1/5-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 - 23 , tengigabitethernet 2/1 - 23 ,
tengigab 2/1 - 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 - 23 , tengigabitethernet 2/1 - 10
DellEMC(conf-if-range-te-2/1-23)#
Interfaces
421