Administrator Guide
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 gigabitethernet 5/1 - 5/23,
gigabitethernet 1/1 – 1/2,
Vlan 2–100, Port 1–25
DellEMC(config-if-range-gi-1/1-1/2,gi-5/1-5/23,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 1-GigabitEthernet interface, enter the keyword GigabitEthernet then the
slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet 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
Command History
This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC
Networking OS Command Line Reference Guide.
610 Interfaces