Interface Range Macro (Define) - Dell S6100 Configuration Manual

Hide thumbs Also See for S6100:
Table of Contents

Advertisement

Example (Multiple
Dell(conf)# interface range tengigabitethernet 1/1/1/1 - 1/1/4/3,
Ports)
tengigabitethernet 1/1/3/2 - 1/1/4/1
Dell(conf-if-range-te-1/1/1/1-1/1/4/3)#
Example
Dell(conf)# interface range tengigabitethernet 1/1/1/1 - 1/1/3/1,
(Overlapping Ports)
tengigabitethernet
Dell(conf-if-range-te-1/1/1/1-1/1/4/3)#
Usage Information
Only VLAN and port-channel interfaces created using the interface vlan and interface port-channel
commands can be used in the interface range command.
Use the show running-config command to display the VLAN and port-channel interfaces. VLAN or port-
channel interfaces that are not displayed in the show running-config command cannot be used with the bulk
configuration feature of the interface range command. You cannot create virtual interfaces (VLAN, Port-
channel) using the interface range command.
Example (Single
This example shows a single range bulk configuration.
Range)
Dell(config)# interface range tengigabitethernet 1/1/1/1 - 1/1/7/3
Dell(config-if-range-te-1/1/1/1-1/1/7/3)# no shutdown
Example (Multiple
This example shows how to use commas to add different interface types to a range of interfaces.
Range)
Dell(config-if)# interface range tengigabitethernet 1/1/1/1 - 1/1/2/3,
hundredGigE 1/24 - 1/29
Dell(config-if-range-te-1/1/1/1-1/1/2/3,hu-1/24-1/29)# no shutdown
Example (Multiple
This example shows how to use commas to add VLAN and port-channel interfaces to the range.
Range)
Dell(config-if)# interface range tengigabitethernet 1/1/1/1 - 1/1/2/3,
tengigabitethernet 1/1/3/1 –1/1/4/4,
Vlan 2–100, Port 1–25
Dell(config-if-range-te-1/1/1/1-1/1/2/3,te-1/1/3/1-1/1/4/4,vl-2-100,po-1-25)#
no shutdown
Dell(config-if-range)#
Related Commands

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
682
Interfaces
NOTE:
If a range has VLAN, physical and port-channel interfaces, only commands related to physical
interfaces can be bulk configured. To configure commands specific to VLAN and port-channel only
those respective interfaces should be configured in a particular range.
interface port-channel
— configure a port channel group.
interface vlan
— configure a VLAN interface.
show config (from INTERFACE RANGE mode)
show range
— display the bulk configuration ranges.
interface range macro (define)
Enter up to 16 characters for the macro name.
1/1/1/1 - 1/1/4/3
— display the bulk configuration interfaces.
— define a macro for an interface-range.

Advertisement

Table of Contents
loading

Table of Contents