2-64
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
define interface-range
•
module number is 0 for 10/100 ports and standard SFP module slots; 1 for enhanced-services (ES)
ports.
•
the range is
type
1
/
module-number
/
number
-
number
(for example,
gigabitethernet 1/0/1 - 2
)
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, fastethernet1/0/5
Related Commands
Command
Description
Executes a command on multiple ports at the same time.
show running-config
Displays the operating configuration. For syntax information, use this
link to the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com
mand_reference_list.html
Select the
Cisco IOS Commands Master List, Release 12.2
to
navigate to the command.