Cisco Catalyst 2960 Command Reference Manual page 89

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2
Catalyst 2960 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:
fastethernet0/3, gigabitethernet0/1 - 2
fastethernet0/3 -4, gigabitethernet0/1 - 2
Examples
This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 fastethernet0/1 - 2, gigabitethernet0/1 - 2
Related Commands
Command
interface range
show running-config
OL-8604-04
port-channel port-channel-number, where port-channel-number is from 1 to 6
fastethernet module/{first port} - {last port}
gigabitethernet module/{first port} - {last port}
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 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.
Catalyst 2960 Switch Command Reference
define interface-range
2-63

Advertisement

Table of Contents
loading

Table of Contents