Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Command Line Reference Guide for the S4048–ON System 9.14.2.6

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
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.5.1.0
Added support for 4-port 40G line cards on the E-Series.
8.2.1.0
Added support for 4093 VLANs on E-Series. Prior releases supported 2094.
8.1.1.0
Introduced on the E-Series.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
pre-Version 6.1.1.0
Introduced on the E-Series.
Example (Single Range)

This example shows how to define an interface range macro named test. Execute the show running-config command to display the macro definition.

DellEMC(config)# define interface-range test tengigabitethernet 1/1 - 1/3,
tengigabitethernet 5/1 - 5/22, tengigabitethernet 3/1 - 3/8

DellEMC# show running-config | grep define
define interface-range test tengigabitethernet 1/1 - 1/3, tengigabitethernet 5/1 - 5/22,
tengigabitethernet 3/1 - 3/8
DellEMC(config)# interface range macro test
DellEMC(config-if-range-1/1-1/3,te-5/1-5/22,te-3/1-3/8)#
Related Commands

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\