Install Guide

Table Of Contents
Create a Single-Range
The following is an example of a single range.
Example of the interface range Command (Single Range)
Create a Multiple-Range
The following is an example of multiple range.
Example of the interface range Command (Multiple Ranges)
Exclude Duplicate Entries
The following is an example showing how duplicate entries are omitted from the interface-range prompt.
Example of the Interface-Range Prompt for Duplicate Interfaces
Exclude a Smaller Port Range
The following is an example show how the smaller of two port ranges is omitted in the interface-range prompt.
Example of the Interface-Range Prompt for Multiple Port Ranges
Overlap Port Ranges
The following is an example showing how the interface-range prompt extends a port range from the smallest start port number
to the largest end port number when port ranges overlap. handles overlapping port ranges.
Example of the Interface-Range Prompt for Overlapping Port Ranges
Commas
The following is an example of how to use commas to add different interface types to a range of interfaces.
Example of Adding Interface Ranges
Add Ranges
The following example shows how to use commas to add VLAN and port-channel interfaces to the range.
Example of Adding VLAN and Port-Channel Interface Ranges
Defining Interface Range Macros
You can define 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 command string, define the macro.
To define an interface-range macro, use the following command.
Defines the interface-range macro and saves it in the running configuration file.
CONFIGURATION mode
336
Interfaces