define interface-range
When you define a range, you must enter a space before the hyphen (-), for example:
gigabitethernet0/1 - 2
You can also enter multiple ranges. When you define multiple ranges, you must enter a space after the
first entry before the comma (,). The space after the comma is optional, for example:
gigabitethernet0/3, gigabitethernet 0/6 - 7
gigabitethernet0/3 -4, gigabitethernet 0/6 - 7
Examples
This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 gigabitethernet0/1 - 2
Related Commands
Command
interface range
show running-config
Cisco Catalyst Blade Switch 3020 for HP Command Reference
2-50
Chapter 2
Cisco Catalyst Blade Switch 3020 for HP Cisco IOS Commands
Description
Executes a command on multiple ports at the same time.
Displays the current operating configuration, including defined
macros. For syntax information, select Cisco IOS Configuration
Fundamentals Command Reference, Release 12.2 > File Management
Commands > Configuration File Management Commands.
OL-8916-01