Command or Action
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
interface range {port-range | macro
macro_name}
Example:
Switch(config)# interface range macro
Step 4
end
Example:
Switch(config)# end
Step 5
show interfaces [interface-id]
Example:
Switch# show interfaces
Step 6
copy running-config startup-config
Example:
Switch# copy running-config
startup-config
Purpose
Enters global configuration mode.
Specifies the range of interfaces (VLANs or physical ports) to be
configured, and enter interface-range configuration mode.
• You can use the interface range command to configure up to five
port ranges or a previously defined macro.
• The macro variable is explained in the
Interface Range Macros, on page
• In a comma-separated port-range, you must enter the interface type
for each entry and enter spaces before and after the comma.
• In a hyphen-separated port-range, you do not need to re-enter the
interface type, but you must enter a space before the hyphen.
Note
Returns to privileged EXEC mode.
Verifies the configuration of the interfaces in the range.
(Optional) Saves your entries in the configuration file.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Configure Interface Characteristics
Use the normal configuration commands to apply the
configuration parameters to all interfaces in the range. Each
command is executed as it is entered.
Configuring and Using
28.
27