2-70
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
define interface-range
For physical interfaces, the interface-id is defined as slot/number (where slot is always 0 for the switch),
and the range can be entered as one of the following:
• type 0/number - number (for example, gigabitethernet0/1 -2)
• type 0/number - 0/number (for example, gigabitethernet 0/1 - 0/2)
You can also enter multiple ranges.
When you define a range, you must enter a space before and after the hyphen (-), for example,
gigabitethernet0/1 - 2
When you define multiple ranges, you must enter a space before and after the comma (,), for example,
fastethernet0/3 - 7 , gigabitethernet0/1 - 2
Examples This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 gigabitethernet0/1 -2, gigabitethernet0/5
Related Commands Command Description
interface range Executes a command on multiple ports at the same time.
show running-config Displays the current operating configuration, including defined
macros. For syntax information, select Cisco IOS Release 12.2
Configuration Guides and Command References > Cisco IOS
Configuration Fundamentals Command Reference, Release 12.2 >
File Management Commands > Configuration File Management
Commands.