Purpose
Command or Action
Example:
Switch>
enable
Enters global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Specifies the range of interfaces (VLANs or physical ports) to be
configured, and enter interface-range configuration mode.
interface range
{
port-range
|
macro
macro_name
}
Step 3
Example:
Switch(config)#
interface range macro
•
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 28
.
•
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.
Use the normal configuration commands to apply the
configuration parameters to all interfaces in the range. Each
command is executed as it is entered.
Note
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
Verifies the configuration of the interfaces in the range.
show interfaces
[
interface-id
]
Example:
Switch#
show interfaces
Step 5
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 6
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
27
How to Configure Interface Characteristics
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......