EasyManua.ls Logo

Cisco Catalyst 2960 Series

Cisco Catalyst 2960 Series
2288 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...
Configuring and Using Interface Range Macros
You can create an interface range macro to automatically select a range of interfaces for configuration. Before
you can use the macro keyword in the interface range macro global configuration command string, you
must use the define interface-range global configuration command to define the macro.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
define interface-range macro_name interface-range
4.
interface range macro macro_name
5.
end
6.
show running-config | include define
7.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Defines the interface-range macro, and save it in NVRAM.
define interface-range macro_name
interface-range
Step 3
The macro_name is a 32-character maximum character string.
Example:
Switch(config)# define interface-range
A macro can contain up to five comma-separated interface
ranges.
enet_list gigabitethernet1/0/1 - 2
Each interface-range must consist of the same port type.
Before you can use the macro keyword in the interface
range macro global configuration command string, you
must use the define interface-range global configuration
command to define the macro.
Note
Selects the interface range to be configured using the values saved
in the interface-range macro called macro_name.
interface range macro macro_name
Example:
Switch(config)# interface range macro
Step 4
You can now use the normal configuration commands to apply the
configuration to all interfaces in the defined macro.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
28
How to Configure Interface Characteristics

Table of Contents

Other manuals for Cisco Catalyst 2960 Series

Related product manuals