Defining Interface Range Macros; Define The Interface Range; Choosing An Interface-Range Macro - Dell S4820T Configuration Manual

Hide thumbs Also See for S4820T:
Table of Contents

Advertisement

Add Ranges
The following example shows how to use commas to add VLAN and port-channel interfaces to the
range.
Example of Adding VLAN and Port-Channel Interface Ranges
Dell(config-if-range-te-1/1-2)# interface range Vlan 2 – 100 , Port 1 – 25
Dell(config-if-range-te-1/1-2-so-5/1-vl-2-100-po-1-25)# no shutdown

Defining Interface Range Macros

You can define an interface-range macro to automatically select a range of interfaces for configuration.
Before you can use the macro keyword in the interface-range macro command string, define the
macro.
To define an interface-range macro, use the following command.
Defines the interface-range macro and saves it in the running configuration file.
CONFIGURATION mode
define interface-range macro_name {vlan vlan_ID - vlan_ID} |
{{gigabitethernet | tengigabitethernet | fortyGigE} slot/interface -
interface} [ , {vlan vlan_ID - vlan_ID} {{gigabitethernet |
tengigabitethernet | fortyGigE} slot/interface - interface}]

Define the Interface Range

The following example shows how to define an interface-range macro named "test" to select Fast
Ethernet interfaces 5/1 through 5/4.
Example of the define interface-range Command for Macros
Dell(config)# define interface-range test gigabitethernet 5/1 - 4

Choosing an Interface-Range Macro

To use an interface-range macro, use the following command.
Selects the interfaces range to be configured using the values saved in a named interface-range
macro.
CONFIGURATION mode
interface range macro name
Example of Using a Macro to Change the Interface Range Configuration Mode
The following example shows how to change to the interface-range configuration mode using the
interface-range macro named "test."
Dell(config)# interface range macro test
Dell(config-if)#
432
Interfaces

Advertisement

Table of Contents
loading

Table of Contents