Configuring A Range Of Interfaces - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Configuring a Range of Interfaces

Configuring a Range of Interfaces
The interface-range configuration mode allows you to configure multiple interfaces with the same
configuration parameters. After you enter the interface-range configuration mode, all command
parameters you enter are attributed to all interfaces within that range until you exit out of the
interface-range configuration mode.
To configure a range of interfaces with the same configuration, perform this task:
Command
Router(config)# interface range
{{vlan vlan_ID - vlan_ID [, vlan vlan_ID - vlan_ID]}
| {type slot/port - port [, type slot/port - port]} |
{macro_name [, macro_name]}}
Router(config)# no interface range
{{vlan vlan_ID - vlan_ID [, vlan vlan_ID - vlan_ID]}
| {macro_name [, macro_name]}}
When configuring a range of interfaces, note the following syntax information:
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
6-4
For information about macros, see the
page
6-6.
You can enter up to five comma-separated ranges.
You are not required to enter spaces before or after the comma.
With releases earlier than Release 12.1(26)E, you must add a space between the interface numbers
and the dash when using the interface range command. For example, interface range fastethernet
1 - 5 is valid syntax; interface range fastethernet 1-5 is invalid.
With Release 12.1(26)E and later releases, you do not need to add a space between the interface
numbers and the dash when using the interface range command.
With releases earlier than Release 12.1(14)E, the interface range command supports these interface
keywords:
ethernet
fastethernet
gigabitethernet
tengigabitethernet
With Release 12.1(14)E and later releases, the interface range command supports these additional
interface keywords:
pos
loopback
tunnel
With Release 12.1(14)E and later releases, you can use the no interface range command to delete
VLAN interfaces.
With releases earlier than Release 12.1(14)E, you cannot use the no keyword with the range
keyword to delete VLAN interfaces.
With Release 12.1(14)E and later releases, you can use the interface range command to create
VLAN interfaces.
Purpose
Selects the range of interfaces to be configured.
Selects the range of VLAN interfaces to remove.
"Defining and Using Interface-Range Macros" section on
Chapter 6
Configuring Interfaces
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents