Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example enters the context of port-channel number 1.
console(config)# interface port-channel 1
console(config-if-ch1)#
interface range port-channel
Use the interface range port-channel command in Global Configuration mode to execute a
command on multiple port channels at the same time.
Syntax
interface range port-channel {
port-channel-range — List of port-channels to configure. Separate non-consecutive port-
•
channels with a comma and no spaces. A hyphen designates a range of port-channels. (Range:
valid port-channel)
•
all — All the channel-ports.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
Commands in the interface range context are executed independently on each interface in the
range. If the command returns an error on one of the interfaces, it stops the execution of the
command on subsequent interfaces.
port-channel-range
|all}
379