EasyManuals Logo

Cisco 4500M Command Reference

Cisco 4500M
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #140 background imageLoading...
Page #140 background image
2-108
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
interface range
interface range
To run a command on multiple ports at the same time, use the interface range command.
interface range {vlan vlan_id - vlan_id} {port-range | macro name}
Syntax Description
Defaults This command has no default settings.
Command Modes Global configuration
Interface configuration
Command History
Usage Guidelines You can use the interface range command on existing VLAN SVIs only. To display VLAN SVIs, enter
the show running config command. VLANs not displayed cannot be used in the interface range
command.
The values entered with the interface range command are applied to all existing VLAN SVIs.
Before you can use a macro, you must define a range using the define interface-range command.
All configuration changes made to a port range are saved to NVRAM, but port ranges created with the
interface range command do not get saved to NVRAM.
You can enter the port range in two ways:
Specifying up to five port ranges
Specifying a previously defined macro
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 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.
Use these formats when entering the port-range:
interface-type {mod}/{first-port} - {last-port}
interface-type {mod}/{first-port} - {last-port}
vlan vlan_id - vlan_id Specifies a VLAN range; valid values are from 1to4094.
port-range Port range; for a list of valid values for port-range, see “Usage Guidelines.”
macro name Specifies the name of a macro.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Support for extended VLAN addresses added.

Table of Contents

Other manuals for Cisco 4500M

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 4500M and is the answer not in the manual?

Cisco 4500M Specifications

General IconGeneral
BrandCisco
Model4500M
CategoryNetwork Router
LanguageEnglish

Related product manuals