Interface Range - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

interface range

interface range
To run a command on multiple ports at the same time, use the interface range command.
Syntax Description
vlan vlan_id - vlan_id
port-range
macro name
Defaults
This command has no default settings.
Command Modes
Global configuration mode
Interface configuration mode
Command History
Release
12.1(8a)EW
12.1(12c)EW
Usage Guidelines
You can use the interface range command on the existing VLAN SVIs only. To display the VLAN SVIs,
enter the show running config command. The VLANs that are not displayed cannot be used in the
interface range command.
The values that are entered with the interface range command are applied to all the existing VLAN
SVIs.
Before you can use a macro, you must define a range using the
All configuration changes that are made to a port range are saved to NVRAM, but the port ranges that
are created with the interface range command do not get saved to NVRAM.
You can enter the port range in two ways:
You can either specify the ports or the name of a port-range macro. A port range must consist of the same
port type, and the ports within a range cannot span the modules.
You can define up to five port ranges on a single command; separate each range with a comma.
When you define a range, you must enter a space between the first port and the hyphen (-):
interface range gigabitethernet 5/1 -20, gigabitethernet4/5 -20.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-272
interface range {vlan vlan_id - vlan_id} {port-range | macro name}
Specifies a VLAN range; valid values are from 1 to 4094.
Port range; for a list of valid values for port-range, see the "Usage
Guidelines" section.
Specifies the name of a macro.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support for extended VLAN addresses added.
Specifying up to five port ranges
Specifying a previously defined macro
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
define interface-range
command.
OL-25342 -01

Advertisement

Table of Contents
loading

Table of Contents