Configuring A Range Of Interfaces - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring a Range of Interfaces

--More--
<...output truncated...>
Step 4
To begin configuring Fast Ethernet interface 5/5, as shown in the following example, enter the interface
keyword, interface type, slot number, and interface number in global configuration mode:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface fastethernet 5/5
Switch(config-if)#
Note
Step 5
Follow each interface command with the interface configuration commands your particular interface
requires. The commands you enter define the protocols and applications that 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 the
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, enter this command:
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}]
Note
When you use the interface range command, you must add a space between the vlan, fastethernet,
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 5/1-5 does not contain a valid range command.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
7-4
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
You do not need to add a space between the interface type and interface number. For example,
in the preceding line you can specify either fastethernet 5/5 or fastethernet5/5.
Chapter 7
End with CNTL/Z.
7-34.
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-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents