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 can not 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 VLANs or port-channels, 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 3/36 - 47
Dell(config-if-range-te-3/36-47)# 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 Ten Gigabit Ethernet interfaces in the range 0/0 to 0/11 and two
Forty Gigabit Ethernet interfaces 48 and 52.
Dell(config-if)# interface range gigabitethernet 0/0 - 11 ,
fortygigabitethernet 48 - 52
Dell(config-if-range-te-0/0-11,fo-48-52)# no shutdown
Dell(config-if-range)#
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 gigabitethernet 2/24 - 35 ,
tengigabitethernet 3/36 – 41 ,
vlan 2 – 100 , port-channel 1 – 25
Dell(config-if-range-gi-2/24-35,te-3/36-41,vl-2-100,po-1-25)#
no shutdown
Dell(config-if-range)#
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.
Interfaces
527