Chapter 2
Catalyst 2350 Switch Cisco IOS Commands
For physical interfaces:
•
•
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, gigabitethernet0/1 - 2
gigabitethernet0/3 -4, tengigabitethernet0/1 - 2
Examples
This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 gigabitethernet0/1 - 2,
gigabitethernet0/5 - 7, tengigabitethernet0/1 - 2
Related Commands
Command
interface range
show running-config
OL-19055-01
module is always 0.
the range is type 0/number - number (for example, gigabitethernet 0/1 - 2).
Description
Executes a command on multiple ports at the same time.
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.
Catalyst 2350 Switch Command Reference
define interface-range
2-49