
Create a Multiple-Range
The following is an example of multiple range.
Example of the
interface range
Command (Multiple Ranges)
Dell(conf)#interface range tengigabitethernet 1/5 - 1/10 , tengigabitethernet 1/1 , vlan
1
Dell(conf-if-range-te-1/1,te-1/5-1/10,vl-1)#
Exclude Duplicate Entries
The following is an example showing how duplicate entries are omitted from the interface-range prompt.
Example of the Interface-Range Prompt for Duplicate Interfaces
Dell(conf)#interface range vlan 1 , vlan 1 , vlan 3 , vlan 3
Dell(conf-if-range-vl-1,vl-3)#
Dell(conf)#interface range tengigabitethernet 2/1 - 2/23 , tengigabitethernet 2/1 - 2/23 ,
tengigab 2/1 - 2/23
Dell(conf-if-range-te-2/1-23)#
Exclude a Smaller Port Range
The following is an example show how the smaller of two port ranges is omitted in the interface-range prompt.
Example of the Interface-Range Prompt for Multiple Port Ranges
Dell(conf)#interface range tengigabitethernet 2/1 - 2/23 , gigab 2/1 - 2/10
Dell(conf-if-range-te-2/1-2/23)#
Overlap Port Ranges
The following is an example showing how the interface-range prompt extends a port range from the smallest start port number to
the largest end port number when port ranges overlap. handles overlapping port ranges.
Example of the Interface-Range Prompt for Overlapping Port Ranges
Dell(conf)#interface range tengigabitethernet 2/1 - 2/11 , gi 2/1 - 2/23
Dell(conf-if-range-te-2/1-23)#
Commas
The following is an example of how to use commas to add different interface types to the range, enabling TenGigabitEthernet
interfaces in the range 5/1 to 5/23 and both Ten Gigabit Ethernet interfaces 1/1 and 1/2.
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)# no shutdown
Dell(config-if-range-te-5/1-23)#
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
|
Interfaces
385
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...