Administrator Guide

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.
For a VLAN, enter the keyword vlan followed by a
number from 1 to 4094.
Defaults none
Command
Modes
CONFIGURATION
Command
History
Version 8.3.17.0 Supported on the M I/O Aggregator.
Interfaces
155