Command Line Reference Guide

556 | Interfaces
www.dell.com | support.dell.com
The following example shows how to use commas to add different interface types to the range enabling
all Gigabit Ethernet interfaces in the range 5/1 to 5/23 and both Ten Gigabit Ethernet interfaces 1/1 and
1/2.
Example 5
(Multiple Range
Bulk Configuration
- Gigabit & Ten
Gigabit Ethernet)
FTOS(config-if)# interface range gigabitethernet 5/1 - 23, tengigabitether-
net 1/1 - 2
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
The following example shows how to use commas to add SONET, VLAN, and port-channel interfaces
to the range.
Example 6
(Multiple Range
Bulk Configuration
- SONET, VLAN,
port channel)
FTOS(config-if)# interface range gigabitethernet 5/1 - 23, tengigabitether-
net 1/1 – 2, Vlan 2 – 100 , Port 1 – 25
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
Related
Commands
interface range macro (define)
c e s
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
This command has no default behavior or value
Command Modes
CONFIGURATION
interface port-channel Configure a port channel group.
interface vlan Configure a VLAN interface.
show config (from INTERFACE
RANGE mode)
Show the bulk configuration interfaces.
show range Show the bulk configuration ranges.
interface range macro (define) Define a macro for an interface-range.
name
Enter up to 16 characters for the macro name.
interface ,
interface ,
...
Enter the interface keyword (refer to parameter 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 gigabitethernet 0/1 - 5 is valid; interface range gigabitethernet
0/1-5
is not valid.
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by
the slot/port information.
For a Port Channel interface, enter the keyword
port-channel followed by a number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 255 for TeraScale and 1 to 512 for ExaScale.
For a SONET interface, enter the keyword
sonet followed by the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed
by the slot/port information.
For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.