Reference Guide
Interfaces | 423
Commas
The example below shows how to use commas to add different interface types to the range, enabling all
10-Gigabit Ethernet interfaces in the range 0/1 to 0/10 and both 10-Gigabit Ethernet interfaces 1/12 and 1/
20.
Figure 21-20. Multiple-Range Bulk Configuration Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
Adding ranges
The example below shows how to use commas to add VLAN and port-channel interfaces to the range.
Figure 21-21. Multiple-Range Bulk Configuration with VLANs and Port-channels
Interface Range Macros
The user 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, you
must define the macro.
To define an interface-range macro, enter this command:
Defining the Interface Range
This example shows how to define an interface-range macro named “test” to select Fast Ethernet interfaces
5/1 through 5/4:
Command Syntax Command Mode Purpose
Dell(config)# define interface-range macro_name {vlan
vlan_ID - vlan_ID} | {{tengigabitethernet | fortyGigE |
fibrechannel
} slot/interface - interface} [ , {vlan vlan_ID -
vlan_ID} {{tengigabitethernet | fortyGigE | fibrechannel}
slot/interface - interface}]
CONFIGURATION Defines the interface-range
macro and saves it in the
running configuration file.
Dell(conf)# interface range gigabitethernet 0/1 - 10 , tengigabitethernet 1/12 - 20
Dell(conf-if-range-gi-0/1-10,te-1/12-20)# no shutdown
Dell(conf-if-range-te-5/1-23)#
Dell(conf-if-range-gi-0/1-10,te-1/12-20)# interface range vlan 2 – 100 , port 1 – 25
Dell(conf-if-range-gi-0/1-10,te-1/12-20,vl-2-100,po-1-25)# no shutdown
Dell(conf-if-range)#










