Command Line Reference Guide

Example (Bulk)
Dell(conf)#interface range so 2/0-1, te 10/0, gi 3/0, fa 0/0
% Warning: Non-existing ports (not configured) are ignored by
interface-range
Example
(Multiple Ports)
Dell(conf)#interface range gi 2/0 - 23, gi 2/1 - 10
Dell(conf-if-range-gi-2/0-23#
Example
(Overlapping
Ports)
Dell(conf)#interface range gi 2/1 - 11, gi 2/1 - 23
Dell(conf-if-range-gi-2/1-23#
Usage
Information
Only VLAN and port-channel interfaces created using the interface vlan and
interface port-channel commands can be used in the interface range
command.
Use the show running-config command to display the VLAN and port-channel
interfaces. VLAN or port-channel interfaces that are not displayed in the show
running-config command cannot be used with the bulk configuration feature of
the
interface range command. You cannot create virtual interfaces (VLAN,
Port-channel) using the interface range command.
NOTE: If a range has VLAN, physical, port-channel, and SONET interfaces, only
commands related to physical interfaces can be bulk configured. To configure
commands specific to VLAN or port-channel, only those respective interfaces
should be configured in a particular range.
Example (Single
Range)
This example shows a single range bulk configuration.
Dell(config)# interface range gigabitethernet 5/1 - 23
Dell(config-if-range)# no shutdown
Dell(config-if-range)#
Example
(Multiple
Range)
This 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.
Dell(config-if)# interface range gigabitethernet5/1-23,
tengigabitethernet1/1-2
Dell(config-if-range)# no shutdown
Dell(config-if-range)#
Example
(Multiple
Range)
This example shows how to use commas to add SONET, VLAN, and port-channel
interfaces to the range.
Dell(config-if)# interface range gigabitethernet5/1-23,
tengigabitethernet1/1–2,
Vlan 2–100, Port 1–25
Dell(config-if-range)# no shutdown
Dell(config-if-range)#
Related
Commands
interface port-channel — configures a port channel group.
566
Interfaces