EasyManua.ls Logo

Cisco Catalyst 3750 Metro - Page 152

Cisco Catalyst 3750 Metro
985 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-124
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
interface range
Note When you use the interface range command with port channels, the first and last port
channel number in the range must be active port channels.
fastethernet switch number (always 1)/module/{first port} - {last port}
gigabitethernet switch number (always 1)/module/{first port} - {last port}
For physical interfaces:
The switch number is always 1.
The module number is 0 for 10/100 ports and standard SFP module slots and 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 between the first entry and the hyphen (-):
interface range gigabitethernet1/0/1 -2
When you define multiple ranges, you must still enter a space after the first entry, before the comma (,):
interface range fastethernet1/0/3, gigabitethernet1/0/1 - 2
interface range fastethernet1/0/3 -5, fastethernet1/0/7 -8
You cannot specify both a macro and an interface range in the same command.
A single interface can also be specified in port-range (this would make the command similar to the
interface interface-id global configuration command).
Note For more information about configuring interface ranges, see the software configuration guide for this
release.
Examples This example shows how to use the interface range command to enter interface range configuration
mode to apply commands to two ports:
Switch(config)# interface range gigabitethernet1/0/1 - 2
Switch(config-if-range)#
This example shows how to use a port-range macro macro1 for the same function. The advantage is that
you can reuse macro1 until you delete it.
Switch(config)# define interface-range macro1 gigabitethernet1/0/1 - 2
Switch(config)# interface range macro macro1
Switch(config-if-range)#
Related Commands Command Description
define interface-range Creates an interface range macro.
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_command
_reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to navigate to
the command.

Table of Contents

Related product manuals