Interface Range - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
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
Interface configuration
Command History
Release
12.1(8a)EW
12.1(12c)EW
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
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:
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:
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-108
interface range {vlan vlan_id - vlan_id} {port-range | macro name}
Specifies a VLAN range; valid values are from 1 to4094.
Port range; for a list of valid values for port-range, see "Usage Guidelines."
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
interface-type {mod}/{first-port } - {last-port}
interface-type {mod}/{first-port } - {last-port}
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
define interface-range
command.
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents