Users Guide
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
Dell(conf)#interface range tengigabitethernet 1/1/1/1 - 1/1/3/3 , te 1/1/2/1 - 1/1/4/4
Dell(conf-if-range-te-1/1/1/1-1/1/4/4)#
Commas
The following is an example of how to use commas to add dierent interface types to a range of interfaces.
Example of Adding Interface Ranges
Dell(conf)#interface range fo 1/1/1-1/1/4 , te 1/1/5/1 - 1/1/5/4
Dell(conf-if-range-te-1/1/5/1-1/1/5/4,fo-1/1/1...)#
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
Dell(config-if-range-te-1/1/1/1-1/1/2/1)# interface range Vlan 2 – 100 , Port 1 – 25
Dell(config-if-range-te-1/1/1/1-1/1/2/1-vl-2-100-po-1-25)# no shutdown
Dell(config-if-range-hu-1/1/1-1/1/6)# interface range Vlan 2 – 100 , Port 1 – 25
Dell(config-if-range-hu-1/1/1-1/1/6-vl-2-100-po-1-25)# no shutdown
Dening Interface Range Macros
You can dene an interface-range macro to automatically select a range of interfaces for conguration.
Before you can use the macro keyword in the interface-range macro command string, dene the macro.
To dene an interface-range macro, use the following command.
• Denes the interface-range macro and saves it in the running conguration le.
CONFIGURATION mode
define interface-range macro_name {vlan vlan_ID - vlan_ID | {{tengigabitethernet [/stack]
slot/port/[subport] - [/stack]slot/port/[subport] | fortyGigE} stack/slot/port/[subport] -
stack/slot/port/[subport]}} [ , {vlan vlan_ID - vlan_ID | {{tengigabitethernet [stack/slot/
port/subport - stack/slot/port/[subport] | fortyGigE} stack/slot/port/[subport] - stack/slot/
port/[subport]}}
Dene the Interface Range
The following example shows how to dene an interface-range macro named “test” to select Ten Gigabit Ethernet interfaces 5/1 through
5/4.
Example of the define interface-range Command for Macros
Dell(config)# define interface-range test tengigabitethernet 1/1/1/1 - 1/1/4/1
Choosing an Interface-Range Macro
To use an interface-range macro, use the following command.
Interfaces
363










