Command Line Reference Guide
Example-Single
Range Bulk
Configuration
Dell(conf)# interface range tengigabitethernet 5/1 - 23
Dell(conf-if-range)# no shutdown
Dell(conf-if-range)#
Example-
Multiple Range
Bulk
Configuration
Gigabit
Ethernet and
Ten Gigabit
Ethernet
The following example shows how to use commas to add different interface types
to the range enabling all TenGigabit Ethernet interfaces in the range 5/1 to 5/23
and both Ten Gigabit Ethernet interfaces 1/1 and 1/2.
Dell(conf-if)# interface range tengigabitethernet 5/1 - 23,
tengigabitethernet 1/1 - 2
Dell(conf-if-range)# no shutdown
Dell(conf-if-range)#
Example-
Multiple Range
Bulk
Configuration
with VLAN and
port channel
The following example shows how to use commas to add VLAN and port-channel
interfaces to the range.
Dell(conf-if)# interface range tengigabitethernet 5/1 - 23,
tengigabitethernet 1/1 – 2,
Vlan 2 – 100 , Port 1 – 25
Dell(conf-if-range)# no shutdown
Dell(conf-if-range)#
Related
commands
show config (from INTERFACE RANGE mode)— Shows the bulk configuration
interfaces.
show interfaces status— Displays a summary of interface information.
interface range macro (define)— Defines a macro for an interface-range.
interface range macro (define)
Defines a macro for an interface range and then saves the macro in the running configuration.
Syntax
define interface range macroname interface, interface,...
Parameters
name Enter up to 16 characters for the macro name.
interface,
interface,...
Enter the interface keyword 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 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
152
Interfaces