define interface-range
For physical interfaces:
•
•
•
When you define a range, you must enter a space before the hyphen (-), for example:
gigabitethernet1/0/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:
fastethernet1/0/3, gigabitethernet1/0/1 - 2
fastethernet1/0/3 -4, gigabitethernet1/0/1 - 2
Examples
This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 fastethernet1/0/1 - 2, gigabitethernet1/0/1
- 2
Related Commands
Command
interface range
show running-config
Catalyst 3750 Switch Command Reference
2-62
stack member is the number used to identify the switch within the stack. The number ranges from 1
to 9 and is assigned to the switch the first time the stack member initializes.
module is always 0.
the range is type stack member/0/number - number (for example, gigabitethernet 1/0/1 - 2).
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.
Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
78-16181-01