248 | Interfaces
www.dell.com | support.dell.com
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
Defaults
none
Command Modes
CONFIGURATION
Command
History
Example
Figure 14-17. define interface-range macro Command Example
Usage
Information
Figure 14-17 is an example of how to define an interface range macro named test. To display the macro
definition, execute the show running-config command.
Related
Commands
name
Enter up to 16 characters for the macro name.
interface , interface ,...
Enter the interface keyword (see below) and one of the interfaces slot/port,
port-channel or VLAN numbers. 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 keyword
port-channel followed
by a number:
Range: 1-128
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
followed by the slot/port information.
• For a VLAN, enter the keyword
vlan followed by a number from 1 to
4094.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
FTOS(conf)# define interface-range test tengigabitethernet 0/0 - 3 ,
tengigabitethernet 5/0 - 47 , tengigabitethernet 13/0 - 89
FTOS# show running-config | grep define
define interface-range test tengigabitethernet 0/0 - 3 , tengigabitethernet 5/0 -
47 , tengigabitethernet 13/0 - 89
FTOS(conf)#interface range macro test
FTOS(conf-if-range-te-0/0-3,tengig-5/0-47,tengig-13/0-89)#
interface range Configures a range of command (bulk configuration)
interface range macro name Runs an interface range macro.