EasyManua.ls Logo

Cisco Catalyst 4500 Series - Define Interface-Range

Cisco Catalyst 4500 Series
1230 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
Loading...
2-183
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
define interface-range
define interface-range
To create a macro of interfaces, use the define interface-range command.
define interface-range macro-name interface-range
Syntax Description
Defaults This command has no default settings.
Command Modes Global configuration mode
Command History
Usage Guidelines The macro name is a character string of up to 32 characters.
A macro can contain up to five ranges. An interface range cannot span modules.
When entering the interface-range, use these formats:
interface-type {mod}/{first-interface} - {last-interface}
interface-type {mod}/{first-interface} - {last-interface}
The valid values for interface-type are as follows:
FastEthernet
GigabitEthernet
Vlan vlan_id
Examples This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 gigabitethernet 4/1-6, fastethernet 2/1-5
Switch(config)#
Related Commands
macro-name Name of the interface range macro; up to 32 characters.
interface-range List of valid ranges when specifying interfaces; see the “Usage Guidelines”
section.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
Command Description
interface range Runs a command on multiple ports at the same time.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals