Reference Guide

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 and port-channel interfaces, only commands related to physical
interfaces can be bulk configured. To configure commands specific to VLAN and 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 tengigabitethernet 5/3 - 23
Dell(config-if-range-te-5/3-23)# no shutdown
Dell(config-if-range-te-5/3-23#
Example
(Multiple Range)
This 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 Tengigabit Ethernet interfaces 1/1 and
1/2.
Dell(config-if)# interface range tengigabitethernet 5/1 - 5/23,
tengigabitethernet 1/1 - 1/2
Dell(config-if-range-te-1/1-2,te-5/1-23)# no shutdown
Dell(config-if-range-te-1/1-2,te-5/1-23)#
Example
(Multiple Range)
This example shows how to use commas to add VLAN and port-channel interfaces to the range.
Dell(config-if)# interface range tengigabitethernet 5/1 - 23,
tengigabitethernet 1/1 2,
Vlan 2100, Port 125
Dell(config-if-range-te-1/1-2,te-5/1-23,vl-2-100,po-1-25)# no shutdown
Dell(config-if-range-te-5/1-24,te-1/1-2,vl-2-100,po-1-25)#
Related
Commands
interface port-channel configures a port channel group.
interface vlan configures a VLAN interface.
show config (from INTERFACE RANGE mode) shows the bulk configuration interfaces.
show range shows the bulk configuration ranges.
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.
Z9500
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
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.
Interfaces 633