Example
(Multiple
Range)
This example shows how to use commas to add different interface types to the
range enabling all 10-Gigabit Ethernet interfaces in the range 2/1 to 2/23 and both
10-Gigabit Ethernet interfaces 1/1 and 1/2.
Dell(config-if)# interface range tengigabitethernet 2/1-23,
tengigabitethernet 1/1-2
Dell(config-if-range)# 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 tengigabitethernet 2/1-23,
tengigabitethernet 1/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.
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.
• For a port channel interface, enter the keywords
port-
channel
then a number. The range is from 1 to 512.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
then the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
then the slot/port information.
Interfaces
849