Interface Range Specification This feature module describes the Interface Range Specification feature. This document includes the following sections: •

Feature Overview, page 1



Supported Platforms, page 2



Supported Standards, MIBs, and RFCs, page 2



Configuration Tasks, page 2



Configuration Examples, page 3



Command Reference, page 4

Feature Overview The Interface Range Specification feature allows specification of a range of interfaces to which subsequent commands are applied and supports definition of macros that contain an interface range. The Interface Range Specification feature is implemented with the range keyword, which is used with the interface command. In the interface configuration mode with the range keyword, all entered commands are applied to all interfaces within the range until you exit interface configuration mode.

Benefits The Interface Range Specification feature makes configuration easier because: •

Identical commands can be entered once for a range of interfaces, rather than being entered separately for each interface.



Interface ranges can be saved as macros.

Restrictions Each command you enter while you are in interface configuration mode with the range keyword is executed as it is entered. The commands are not batched together for execution after you exit interface mode. If you exit interface configuration mode while the commands are being executed, some commands may not be executed on some interfaces in the range. Wait until the command prompt reappears before exiting interface configuration mode.

Cisco IOS Release 12.1(5)T

1

Interface Range Specification Supported Platforms

The interface range command works only with VLAN interfaces that have been created with the interface vlan command (the show running-configuration command displays the VLAN interfaces). VLAN interfaces not displayed by the show running-configuration command cannot be used with the interface range command.

Supported Platforms The Interface Range Specification feature runs on all platforms that support Cisco IOS Release 12.0(7)XE, Release 12.1 E, and Release 12.1(5)T.

Supported Standards, MIBs, and RFCs None.

Configuration Tasks See the following sections for configuration tasks for the Interface Range Specification feature. Each task in the list indicates if the task is optional or required. •

Defining a Range Macro (Optional), page 2



Configuring a Range of Interfaces (Required), page 3

Defining a Range Macro (Optional) To define an interface range macro, perform this task: Command

Purpose

Router(config)# define interface-range macro_name {vlan vlan_ID - vlan_ID} | {{ethernet | fastethernet | gigabitethernet} slot/interface - interface} [, {{ethernet | fastethernet | gigabitethernet} slot/interface - interface}]

Define the interface-range macro and save it in NVRAM.

Cisco IOS Release 12.1(5)T

2

Interface Range Specification Configuration Examples

Configuring a Range of Interfaces (Required) To configure a range of interfaces, perform this task: Command

Purpose

Router(config)# interface range {macro macro_name}

Select the range of interfaces to be configured.

Router(config)# interface range {vlan vlan_ID - vlan_ID} [, {vlan vlan_ID - vlan_ID}...] Router(config)# interface range {{ethernet | fastethernet | gigabitethernet} slot/interface - interface} [, {{ethernet | fastethernet | gigabitethernet} slot/interface interface}...]



The space before the dash is required. For example, the command interface range fastethernet 1 - 5 is valid; the command interface range fastethernet 1-5 is not valid.



You can enter one macro or up to five comma-separated ranges.



Comma-separated ranges can include both VLANs and physical interfaces.



You are not required to enter spaces before or after the comma.

Verifying Configuration of a Range of Interfaces Enter the show running-configuration command to verify interface configuration.

Configuration Examples This section provides the following configuration examples: •

Range Macro Definition Example, page 3



Single Range Configuration Example, page 4



Multiple Range Configuration Example, page 4

Range Macro Definition Example This example shows how to define an interface-range macro named enet_list to select Fast Ethernet interfaces 5/1 through 5/4: Router(config)# define interface-range enet_list fastethernet 5/1 - 4 Router(config)#

Cisco IOS Release 12.1(5)T

3

Interface Range Specification Command Reference

Single Range Configuration Example This example shows how to reenable all Fast Ethernet interfaces 5/1 to 5/5: Router(config)# interface range fastethernet 5/1 - 5 Router(config-if)# no shutdown Router(config-if)# *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/1, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/2, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/3, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/4, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up *Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/ 5, changed state to up *Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/ 3, changed state to up *Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/ 4, changed state to up Router(config-if)#

Multiple Range Configuration Example This example shows how to use a comma to add different interface type strings to the range to reenable all Fast Ethernet interfaces in the range 5/1 to 5/5 and both Gigabit Ethernet interfaces 1/1 and 1/2: Router(config-if)# interface range fastethernet 5/1 - 5, gigabitethernet 1/1 - 2 Router(config-if)# no shutdown Router(config-if)# *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/1, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/2, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/3, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/4, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet1/1, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet1/2, changed state to up *Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/ 5, changed state to up *Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/ 3, changed state to up *Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/ 4, changed state to up Router(config-if)#

Command Reference This section documents the new commands that comprise the Interface Range Specification feature. •

define interface-range, page 5



interface range, page 6

Cisco IOS Release 12.1(5)T

4

Interface Range Specification define interface-range

define interface-range Use the define interface-range command to create an interface-range macro. define interface-range macro-name interface-range

Syntax Description

macro-name

Name of the interface-range macro; up to 32 characters.

interface-range

Interface range; for a list of valid values for interface ranges, see the “Usage Guidelines” section.

Defaults

This command has no default setting.

Command Modes

Global configuration mode.

Command History

Release

Modification

12.0(7)XE

This command was introduced.

12.1(5)T

Support for this command was extended to the T train.

Usage Guidelines

The macro name is a 32-character maximum character string. A macro can contain up to five ranges. An interface range cannot span slots. When entering the interface-range, these formats can be used: •

card-type{slot}/{first-interface} - {last-interface}



card-type {slot}/{first-interface} - {last-interface}

Valid values for card-type are:

Examples



Ethernet



FastEthernet



GigabitEthernet



Vlan vlan

This example shows how to create a multiple-interface macro: Router(config)# define interface-range macro1 ethernet 1/2 - 5, fastethernet 5/5 - 10 Router(config)#

Related Commands

interface range, page 6

Cisco IOS Release 12.1(5)T

5

Interface Range Specification interface range

interface range Use the interface range command to execute a command on multiple interfaces at the same time. interface range {interface-range | macro name}

Syntax Description

interface-range

interface range; for a list of valid values for interface-range, see the “Usage Guidelines” section for additional information.

macro name

Keyword and variable to specify the name of a macro.

Defaults

This command has no default setting.

Command Modes

Global or interface configuration mode.

Command History

Release

Modification

12.0(7)XE

This command was introduced.

12.1(5)T

Support for this command was extended to the T train.

Usage Guidelines

You cannot use the interface range command to create switch virtual interfaces (SVIs). You must create SVIs with individual interface VLAN commands. You can use the interface range command on existing VLAN SVIs. To display VLAN SVIs, enter the show running config command. VLANs not displayed cannot be used in the interface range command. The commands entered under the interface range command are applied to all existing VLAN SVIs. Before you can use a macro, you must define it with the define interface-range command. All configuration changes made to a range of interfaces are saved to NVRAM, but the range itself does not get saved to NVRAM. Use the define interface-range command to create and save a range. You can enter the range in two ways: •

Specifying up to five interface ranges



Specifying a previously defined macro

You can either specify the interfaces or the name of a range macro. A range must consist of the same interface type, and the interfaces within a range cannot span slots. You can define up to five interface ranges on a single command, with each range separated by a comma. When you define a range, you must enter a white space between the first interface and the hyphen (-): interface range gigabitethernet 7/1 -7, gigabitethernet9/5 -408.

When you define a VLAN range, valid values are from 1 to 1005. The last VLAN number cannot exceed 1005.

Cisco IOS Release 12.1(5)T

6

Interface Range Specification interface range

When entering the interface-range, these formats can be used: •

card-type{slot}/{first-interface} - {last-interface}



card-type {slot}/{first-interface} - {last-interface}

Valid values for card-type are: •

Ethernet



FastEthernet



GigabitEthernet



Vlan vlan

You cannot specify both a macro and an interface range in the same command. After creating a macro, the CLI does not allow you to enter additional ranges. Likewise, if you have already entered an interface range, the CLI does not allow you to enter a macro. A single interface can also be specified in interface-range (this would make the command similar to the interface interface-number command).

Examples

This example shows how to use the interface range command to interface to two interface ranges: Router(config)# interface range fastethernet 5/18 - 20, ethernet 3/1 - 24 Router(config-if)#

This command shows how to execute a range macro: Router(config)# interface range macro macro1 Router(config-if)#

Related Commands

define interface-range, page 5

Cisco IOS Release 12.1(5)T

7

Interface Range Specification interface range

Cisco IOS Release 12.1(5)T

8

Interface Range Specification

VLAN interfaces not displayed by the show running-configuration command cannot be used with the interface range command. Supported Platforms. The Interface Range Specification feature runs on all platforms that support Cisco IOS. Release 12.0(7)XE, Release 12.1 E, and Release 12.1(5)T. Supported Standards, MIBs ...

117KB Sizes 0 Downloads 251 Views

Recommend Documents

Gaspi: Global Address Space Programming Interface Specification of ...
Feb 3, 2016 - procedure will wait for data from other ranks (time-based blocking). The timeouts ...... request and also to reset the state after successful recovery. ..... For consistency and programs with hard failure tolerance requirements, the.

Gaspi: Global Address Space Programming Interface Specification of ...
Sep 30, 2016 - Gaspi allows both SPMD (Single Program, Multiple Data) and MPMD (Mul- ..... request and also to reset the state after successful recovery. ...... parameter value_old contains the previous value before the comparison was.

Gaspi: Global Address Space Programming Interface Specification of ...
Feb 7, 2017 - The examples in this document are for illustration purposes only. They are not ... In this section, the basic Gaspi concepts are introduced. A more ...... Creating a new segment with an existing segment ID results in undefined ...

Specification - cs164
Fri. 2/3. Proposal. 2/6. Design Doc, Style Guide. 2/10. Beta. 2/24. Release ... or otherwise exposed) or lifting material from a book, website, or other ... Help is available throughout the week at http://help.cs164.net/, and we'll do our best to res

Specification - cs164
need a Mac for the course until Mon 3/19, but Xcode comes with iOS Simulator, which might prove handy for testing in the short term. If you do have a Mac, know ...

Specification - cs164
Computer Science 164: Mobile Software Engineering. Harvard College .... Log into your Bitbucket account and create a new, private repo as follows: □ Select ...

specification - ELECTRONIX.ru
Nov 22, 2007 - BASIC SPECIFICATION. 1.1 Mechanical specifications. Dot Matrix. Module Size (W x H x T). Active Area (W x H). Dot Size (W x H). Dot Pitch (W x H). Driving IC Package. 1.2 Display specification. LCD Type. LCD Mode ..... ON THE POLARIZER

StackMap API Specification - GitHub
domain is the specific StackMap installation for your library. POST Data. The POST ... A node with the name of the library to search for the holding. ▫ Attributes.

specification sheet - AV-iQ
FOR KEYPADS, TOUCH-PANEL CONTROLS AND OTHER HUMAN INTERFACE DEVICES. FOR LUTRON SYSTEMS 75C 300V RISER RATED. CONSTRUCTION: 22 AWG 16 STRAND BARE COPPER 1 PAIR, SHIELDED DATA PAIR PLUS. 18 AWG 41 STRAND BARE COPPER 1 PAIR TWISTED, OVERALL PVC ...

Devicetree Specification - GitHub
Apr 30, 2016 - Companies ... A piece of software may be both a client program and a boot ..... defined by the DTSpec. 2.2. Devicetree Structure and Conventions. 10 ...... dtc-paper.pdf), An overview of the concept of the device tree and device ...

Architectural Requirements Specification - GitHub
cumbersome tool to have to port to mobile application clients. 4. Page 7. Description of Components .1 Odin-CLI .1.1 Technologies. The command line interface will be implemented in Python 3, using built-in classes and libraries to provide a usable in

System Requirements Specification - GitHub
This section describes the scope of Project Odin, as well as an overview of the contents of the SRS doc- ument. ... .1 Purpose. The purpose of this document is to provide a thorough description of the requirements for Project Odin. .... Variables. â€

Specification - cdn.cs76.net
Building Mobile Applications CSCI E-‐76. Harvard Extension School Spring 2011. 1 of 11. iOS: Staff's Choice. Evil Hangman* due by noon ET on Thu 4/21.

Devicetree Specification - WordPress.com
May 24, 2016 - The devicetree.org Technical Steering Committee would like thank the many individuals and companies ... A piece of software may be both a client program and a boot ..... address+11 00 '\0'. 2.2. Devicetree Structure and Conventions. 10

Specification - cdn.cs76.net
24 Feb 2011 - Android Software Development Kit. •. Eclipse. •. Java. Help. Help is available throughout the week at http://help.cs76.net/! We'll do our best to respond within 24 hours. Be sure ... You may also turn to the Web for instruction ...

Specification - cdn.cs76.net
Feb 24, 2011 - environment (IDE), which would provide a GUI-‐based application to help develop your application. For this reason ... to build native Android applications, and finally create some Android Virtual Devices to use the .... of class, and

Architectural Requirements Specification - GitHub
porchetta tri-tip kielbasa kevin chicken hamburger sirloin. Cow pastrami short ribs shank. Sirloin spare ribs jowl, beef ham hock kielbasa ribeye prosciutto cow. Capicola pork chop landjaeger jowl venison beef ribs sirloin tri-tip tenderloin pastrami

specification sheet -
where circuit integrity must be maintained. For installation where fire, smoke emission and toxic fumes create a potential threat to life and equipment. Standards:.

System Requirements Specification - GitHub
System Requirements Specification. Project Odin. Kyle Erwin. Joshua Cilliers. Jason van Hattum. Dimpho Mahoko. Keegan Ferrett. Note: This document is constantly under revision due to our chosen methodology, ... This section describes the scope of Pro

Specification - cdn.cs76.net
... /userexperience/conceptual/mobilehig/Introduction/Introduction.html .... needed), ensure that Hangman is checked to the right of Add to targets, and then .... Apple ID (i.e., the email address with which you registered as an Apple Developer).

Specification - Building Dynamic Websites
Sep 28, 2009 - HTML, XHTML, and CSS: Your visual blueprint for designing effective Web .... At least one of your pages must include at least one mailto: link.

Orc Protocol Specification - GitHub
Jun 7, 2017 - RPC message format changed (4.1 Structure and Authentication). • New CLAIM .... signature to authenticate the payload. Positions 3 and ..... Kademlia (http://www.scs.stanford.edu/~dm/home/papers/kpos.pdf). • S/Kademlia ...

Orc Protocol Specification - GitHub
Aug 15, 2017 - This specification documents the Orc network protocol in its entirety for the purpose of enabling .... services and authentication is performed by the nature of Tor's routing. Each Orc node ... associated with held contracts (5. Data T

Range extension f Range extension for Thomas' Mastiff bat ... - SciELO
E-mail: [email protected]; [email protected] ... two locations, all bats were roosting in palm leaves while in the later location, a single ...