CLI Guide

Table Of Contents
Example
(Multiple Range)
This example shows how to use commas to add VLAN and port-channel interfaces to the range.
DellEMC(config-if)# interface range tengigabitethernet 1/1/1 - 1/20/3,
tengigabitethernet 1/23/1 1/24/4,
Vlan 2100, Port 125
DellEMC(config-if-range-
te-1/1/1-1/20/3,te-1/23/1-1/24/4,vl-2-100,po-1-25)# no shutdown
DellEMC(config-if-range)#
Example
(Batch Mode
Configuration)
Primary VLT
DellEMC(conf-b)#int range Tengigabitethernet 3/0 - 5
DellEMC(conf-if-range-te-3/0-5)#mtu 4500
DellEMC(conf-if-range-te-3/0-5)#exit
DellEMC(conf-b)#show conf
interface range tengigabitethernet 3/0 - 5
mtu 4500
DellEMC(conf-b)#commit
DellEMC(conf-b)#Dec 6 11:30:45 %RPM1-P:CP %CLIBATCH-6-
CLI_BATCH_CONFIG_IN_PROGRESS_TRAP: Batch configuration commit is in
progress
Dec 6 11:30:45 %RPM1-P:CP %CLIBATCH-6-CLI_BATCH_CONFIG_COMPLETE_TRAP:
Batch configuration commit is success
Secondary VLT
Dec 6 10:43:17 %RPM1-P:CP %CLIBATCH-6-
CLI_BATCH_CONFIG_IN_PROGRESS_TRAP: Batch configuration commit is in
progress
Dec 6 10:43:18 %RPM1-P:CP %CLIBATCH-6-CLI_BATCH_CONFIG_COMPLETE_TRAP:
Batch configuration commit is success
Related
Commands
interface port-channel configure a port channel group.
interface vlan configure a VLAN interface.
show config (from INTERFACE RANGE mode) display the bulk configuration interfaces.
show range display the bulk configuration ranges.
interface range macro (define) define 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 macro name interface , interface , ...
Parameters
name
Enter up to 16 characters for the macro name.
interface,
interface,...
Enter the keywords interface range and the interface information. 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 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port/subport information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the
slot/port information.
For a Tunnel interface, enter the keyword tunnel then the tunnel ID. The
range is from 1 to 16383.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
Defaults None
Command Modes CONFIGURATION
Interfaces 653