Interface Range - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

interface range

interface range
Use the interface range global configuration command to enter interface range configuration mode and
to execute a command on multiple ports at the same time. Use the no form of this command to remove
an interface range.
Syntax Description
port-range
macro name
Defaults
This command has no default setting.
Command Modes
Global configuration
Command History
Release
12.1(6)EA2
Usage Guidelines
From the interface range configuration mode, all interface parameters that you enter are applied to all
interfaces within the range.
For VLANs, you can use the interface range command only on existing VLAN interfaces. To display
VLAN interfaces, enter the show running-config privileged EXEC command. VLANs not displayed
cannot be used in the interface range command. The commands that you enter under the interface
range command are applied to all existing VLAN interfaces in the range.
All configuration changes made to an interface range are saved to NVRAM, but the interface range itself
is not saved to NVRAM.
You can enter the interface range in two ways:
You can define up to five interface ranges with a single command, with each range separated by a
comma (,).
All interfaces in a range must be the same type; that is, all Fast Ethernet ports, all Gigabit Ethernet ports,
all EtherChannel ports, all Long-Reach Ethernet (LRE) ports, or all VLANs.
These are the valid values for port-range type and interface:
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-124
interface range {port-range | macro name}
no interface range {port-range | macro name}
Port range. For a list of valid values for port-range, see the "Usage Guidelines"
section.
Specify the name of a macro.
Modification
This command was introduced.
Specifying up to five interface ranges
Specifying a previously defined interface-range macro
vlan vlan-id, where vlan-id is from 1 to4094
port-channel port-channel-number, where port-channel-number is from 1 to 6
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents