02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Adding ranges<br />

The example below shows how to use commas to add SONET, VLAN, and port-channel interfaces to <strong>the</strong><br />

range.<br />

Figure 173 Multiple-Range Bulk <strong>Configuration</strong> with SONET, VLAN, and Port-channel<br />

<strong>Force10</strong>(config-ifrange-gi-5/1-23-te-1/1-2)# interface range Sonet 6/1 – 10 , Vlan 2 – 100 , Port 1 – 25<br />

<strong>Force10</strong>(config-if-range-gi-5/1-23-te-1/1-2-so-5/1-vl-2-100-po-1-25)# no shutdown<br />

<strong>Force10</strong>(config-if-range)#<br />

Using Interface Range Macros<br />

You can define an interface-range macro to automatically select a range of interfaces <strong>for</strong> configuration.<br />

Be<strong>for</strong>e you can use <strong>the</strong> macro keyword in <strong>the</strong> interface-range macro command string, you must define <strong>the</strong><br />

macro.<br />

To define an interface-range macro, enter this command:<br />

Command Syntax Command Mode Purpose<br />

<strong>Force10</strong> (config)# define interface-range macro_name<br />

{vlan vlan_ID - vlan_ID} | {{gigabite<strong>the</strong>rnet |<br />

tengigabite<strong>the</strong>rnet} slot/interface - interface} [ , {vlan<br />

vlan_ID - vlan_ID} {{gigabite<strong>the</strong>rnet | tengigabite<strong>the</strong>rnet}<br />

slot/interface - interface}]<br />

Defining <strong>the</strong> Interface Range<br />

This example shows how to define an interface-range macro named “test” to select Fast E<strong>the</strong>rnet interfaces<br />

5/1 through 5/4:<br />

<strong>Force10</strong>(config)# define interface-range test gigabite<strong>the</strong>rnet 5/1 - 4<br />

CONFIGURATION Defines <strong>the</strong> interface-range<br />

macro and saves it in <strong>the</strong><br />

running configuration file.<br />

To show <strong>the</strong> defined interface-range macro configuration, use <strong>the</strong> command show running-config in <strong>the</strong><br />

EXEC mode. The example below shows how to display <strong>the</strong> defined interface-range macro named “test”:<br />

<strong>Force10</strong># show running-config | include define<br />

define interface-range test GigabitE<strong>the</strong>rnet5/1 - 4<br />

<strong>Force10</strong>#<br />

270 Interfaces

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!