Cisco Catalyst 2950 Command Reference Manual page 60

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

define interface-range
For physical interfaces, the interface-id is defined as a slot/number (where slot is always 0 for the
switch), and the range can be entered as type 0/number - number (for example, gigabitethernet0/1 - 2).
You can also enter multiple ranges.
When you define a range, you must enter a space before and after the hyphen (-):
interface range gigabitethernet0/1 - 2
When you define multiple ranges, you must enter a space before and after the comma (,):
interface range fastethernet0/3 - 7 , gigabitethernet0/1 - 2
Examples
This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 fastethernet 0/3 -7 , gigabitethernet 0/2
Related Commands
Command
interface range
show running-config
Catalyst 2950 Desktop Switch Command Reference
2-36
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 for Release 12.1 > Cisco IOS File Management
Commands > Configuration File Commands.
Chapter 2
Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents