Defining Interface Range Macros - Dell C9000 Series Networking Configuration Manual

Hide thumbs Also See for C9000 Series:
Table of Contents

Advertisement

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.
Dell(conf)#inte ra te 2/1 - 11 , te 2/1 - 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. This
example also enables all 10 Gigabit Ethernet interfaces in the range 5/1 to 5/23 and both 10 Gigabit Ethernet
interfaces 1/1 and 1/2.
Dell(conf)# inte ra tengigabitethernet 5/1 - 23, tengigabitethernet 5/1 - 2
Dell(conf-if-range-te-1/1-2,te-5/1-23)#no shutdown
Dell(conf-if-range-te-1/1-2,te-5/1-23)#
`
Add Ranges
The following example shows how to use commas to add VLAN and port-channel interfaces to the range.
Dell(conf)#int range te5/1-23 , te1/1 - 2
Dell(conf-if-range-te-1/1-2,te-5/1-23)#interface range vlan 2 - 100 , Port 1 - 25
Dell(conf-if-range-vl-2-100,po-1-25)#
Interface Range Enhancements
Inserting a space between comma-separated interfaces and interface ranges in interface range
command syntax is no longer required.
For example, you can enter the following valid interface range: interface range fo 2/0-16,te 1/0,te
0/0–3,fo 0/4.
Also, you can associate a static multicast MAC address with one or more VLANs and port interfaces by using
the mac-address-table static multicast-mac-address vlan vlan-id output-range
interface command.

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 - port}| {peGigE pe-id/unit-id/port-
Interfaces
524

Advertisement

Table of Contents
loading

Table of Contents