Administrator Guide
NOTE: If a range has VLAN, physical and port-channel interfaces, only commands related to physical
interfaces can be bulk congured. To congure commands specic to VLAN and port-channel only
those respective interfaces should be congured in a particular range.
Example (Single
Range)
This example shows a single range bulk conguration.
Dell(config)# interface range gigabitethernet 5/3 - 23
Dell(config-if-range-gi-5/3-5/23)# no shutdown
Dell(config-if-range-gi-5/3-5/23)#
Example (Multiple
Range)
This example shows how to use commas to add dierent interface types to a range of interfaces.
Dell(config-if)# interface range gigabitethernet 5/1 - 5/23, gigabitethernet
1/1 - 1/2
Dell(config-if-range-gi-1/1-1/2,gi-5/1-5/23)# no shutdown
Dell(config-if-range-gi-1/1-1/2,gi-5/1-5/23)#
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 5/1 - 5/23, gigabitethernet
1/1 – 1/2,
Vlan 2–100, Port 1–25
Dell(config-if-range-gi-1/1-1/2,gi-5/1-5/23,vl-2-100,po-1-25)# no shutdown
Dell(config-if-range)#
Related Commands
• interface port-channel — congure a port channel group.
• interface vlan — congure a VLAN interface.
• show cong (from INTERFACE RANGE mode) — display the bulk conguration interfaces.
• show range — display the bulk conguration ranges.
• interface range macro (dene) — dene a macro for an interface-range.
interface range macro
(dene)
Denes a macro for an interface range and then saves the macro in the running conguration.
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 conguration. 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
654 Interfaces