Configuring A Range Of Interfaces - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Configuring a Range of Interfaces

Follow each interface command with the interface configuration commands your particular interface
Step 5
requires. The commands you enter define the protocols and applications that will run on the interface.
The commands are collected and applied to the interface command until you enter another interface
command or press Ctrl-Z to exit interface configuration mode and return to privileged EXEC mode.
After you configure an interface, check its status by using the EXEC show commands listed in
Step 6
"Monitoring and Maintaining the Interface" section on page
Configuring a Range of Interfaces
The interface-range configuration mode allows you to configure multiple interfaces with the same
configuration parameters. When you enter the interface-range configuration mode, all command
parameters you enter are attributed to all interfaces within that range until you exit interface-range
configuration mode.
To configure a range of interfaces with the same configuration, perform this task:
Command
Switch(config)# interface range
{vlan vlan_ID - vlan_ID } |
{{fastethernet | gigabitethernet |
tengigabitethernet | macro macro_name }
slot/interface - interface } [,
{vlan vlan_ID - vlan_ID } {{fastethernet
| gigabitethernet | tengigabitethernet |
macro macro_name }
slot/interface - interface }]
When you use the interface range command, you must add a space between the vlan, fastethernet,
Note
gigabitethernet, tengigabitethernet, or macro keyword and the dash. For example, the command
interface range fastethernet 5/1 - 5 specifies a valid range; the command
interface range fastethernet 1-5 does not contain a valid range command.
The interface range command works only with VLAN interfaces that have been configured with the
Note
interface vlan command (the show running-configuration command displays the configured VLAN
interfaces). VLAN interfaces that are not displayed by the show running-configuration command
cannot be used with the interface range command.
Software Configuration Guide—Release 12.2(25)EW
4-4
Chapter 4
4-13.
Purpose
Selects the range of interfaces to be configured. Note
the following:
You are required to enter a space before the dash.
You can enter up to five comma-separated
ranges.
You are not required to enter spaces before or
after the comma.
Configuring Interfaces
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents