CLI Guide
interface range macro (define)
Defines a macro for an interface range and then saves the macro in the running configuration.
Syntax
define interface range macro name interface , interface , ...
Parameters
name Enter up to 16 characters for the macro name.
interface, 
interface,...
Enter the keywords interface range and one of the 
interfaces — slot/port, port-channel, or VLAN number. 
Select the range of interfaces for bulk configuration. You 
can enter up to six comma-separated ranges. Spaces are 
not required between the commas. Comma-separated 
ranges can include VLANs, port-channels, and physical 
interfaces.
Slot/Port information must contain a space before and after 
the dash. For example, interface range 
tengigabitethernet 0/1 - 5 is valid; interface 
range tengigabitethernet 0/1-5
 is NOT valid.
• For a Port Channel interface, enter the keywords port-
channel then a number. The range is from 1 to 128.
• For a 10-Gigabit Ethernet interface, enter the keyword 
TenGigabitEthernet then the slot/port information.
• For a VLAN, enter the keyword vlan then a number 
from 1 to 4094.
Defaults none
Command Modes CONFIGURATION
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Example (Single 
Range)
This example shows how to define an interface range macro named test. Execute 
the show running-config command to display the macro definition.
Dell(config)# define interface-range test 
tengigabitethernet0/0-3,
tengigabitethernet 5/0-7
Dell# show running-config | grep define
define interface-range test tengigabitethernet0/0-3, 
tengigabitethernet5/0-7,
630
Interfaces










