Interface Range Macros; Define The Interface Range - Dell Force10 Z9000 Configuration Manual

Ftos configuration guide for z9000 system
Hide thumbs Also See for Force10 Z9000:
Table of Contents

Advertisement

Commas
The example below shows how to use commas to add different interface types to the range, enabling all
Gigabit Ethernet interfaces in the range 5/1 to 5/23 and both Ten Gigabit Ethernet interfaces 1/1 and 1/2.
FTOS(config-if)# interface range gigabitethernet 5/1 - 23, tengigabitethernet 1/1 - 2
FTOS(config-if-range-gi-5/1-23)# no shutdown
FTOS(config-if-range-gi-5/1-23)#
Figure 19-23. Multiple-Range Bulk Configuration Gigabit Ethernet and Ten-Gigabit Ethernet
Add ranges
The example below shows how to use commas to add VLAN and port-channel interfaces to the range.
Figure 19-24. Multiple-Range Bulk Configuration with VLAN, and Port-channel
FTOS(config-ifrange-gi-5/1-23-te-1/1-2)# interface range Vlan 2 – 100 , Port 1 – 25
FTOS(config-if-range-gi-5/1-23-te-1/1-2-so-5/1-vl-2-100-po-1-25)# no shutdown
FTOS(config-if-range)#

Interface Range Macros

The user 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, you
must define the macro.
To define an interface-range macro, enter this command:
Command Syntax
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

This example shows how to define an interface-range macro named "test" to select Fast Ethernet interfaces
5/1 through 5/4:
FTOS(config)# define interface-range test gigabitethernet 5/1 - 4
|
Interfaces
400
Command Mode
Purpose
CONFIGURATION
Defines the interface-range
macro and saves it in the
running configuration file.

Advertisement

Table of Contents
loading

Table of Contents