CLI Guide
interface range macro (dene)
Denes a macro for an interface range and then saves the macro in the running conguration.
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 conguration. 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 dene an interface range macro named test. Execute the show running-config
command to display the macro denition.
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,
Dell(config)#interface range macro test
Dell(config-if-range-te-0/0-3,te-5/0-7)#
Related Commands
interface range – congures a range of command (bulk conguration)
interface range macro name – runs an interface range macro.
Interfaces 535