Commas
The following is an example of how to use commas to add different interface types to a range of interfaces.
Example of Adding Interface Ranges
Dell(config-if)# interface range tengigabitethernet 5/1 - 23, tengigabitethernet 1/1 - 2
Dell(config-if-range-te-5/1-23,te1/1-2)# no shutdown
Dell(config-if-range-te-5/1-23,te1/1-2)#
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-1/2)# interface range Vlan 2 – 100 , Port 1 – 25
Dell(config-if-range-te-1/1-1/2-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
| {{tengigabitethernet | fortyGigE}
slot/port/[subport] - slot/port/[subport]
}} [ , {vlan
vlan_ID - vlan_ID
| {{tengigabitethernet
| fortyGigE}
slot/interfaceslot/port/[subport] - interfaceslot/port/[subport]
}]
Define the Interface Range
The following example shows how to define an interface-range macro named “test” to select Ten Gigabit Ethernet interfaces 5/1 through
5/4.
Example of the
define interface-range
Command for Macros
Dell(config)# define interface-range test tengigabitethernet 5/1 - 5/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)#
Interfaces
413
Содержание S4048T-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 11 2 1 ...
Страница 148: ...Figure 10 BFD Three Way Handshake State Changes 148 Bidirectional Forwarding Detection BFD ...
Страница 251: ...Dell Control Plane Policing CoPP 251 ...
Страница 363: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 363 ...
Страница 511: ...Figure 64 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 511 ...
Страница 512: ...Figure 65 Inspecting Configuration of LAG 10 on ALPHA 512 Link Aggregation Control Protocol LACP ...
Страница 515: ...Figure 67 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 515 ...
Страница 516: ...Figure 68 Inspecting LAG 10 Using the show interfaces port channel Command 516 Link Aggregation Control Protocol LACP ...
Страница 558: ...Figure 84 Configuring Interfaces for MSDP 558 Multicast Source Discovery Protocol MSDP ...
Страница 559: ...Figure 85 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 559 ...
Страница 560: ...Figure 86 Configuring PIM in Multiple Routing Domains 560 Multicast Source Discovery Protocol MSDP ...
Страница 564: ...Figure 88 MSDP Default Peer Scenario 2 564 Multicast Source Discovery Protocol MSDP ...
Страница 565: ...Figure 89 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 565 ...
Страница 729: ...protocol spanning tree pvst no disable vlan 300 bridge priority 4096 Per VLAN Spanning Tree Plus PVST 729 ...
Страница 841: ...Figure 115 Single and Double Tag TPID Match Service Provider Bridging 841 ...
Страница 842: ...Figure 116 Single and Double Tag First byte TPID Match 842 Service Provider Bridging ...