Specifications

2-165
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
define interface-range
define interfa ce-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 configura tion mode
Usage Guidelines The macro name is a character string of up to 32 characters.
A macro can contain up to five ranges. An interfa ce range cannot span mod ules.
When ente ring t he interface -range, use thes e forma ts:
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.
Command Description
interfa ce ran ge Runs a command on multiple ports at the same time.