114 CHAPTER 8: PORT CHANNEL COMMANDS
Syntax
interface range port-channel {port-channel-range | all}
Parameters
■ port-channel-range — List of valid port-channels to add. Separate
nonconsecutive port-channels with a comma and no spaces. A
hyphen designates a range of port-channels. (Range: 1-8)
■ all — All valid port-channels.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
Commands under the interface range context are executed
independently on each interface in the range.
Example
The following example groups port-channels 1, 2 and 6 to receive the
same command.
channel-group The channel-group Interface Configuration (Ethernet) mode command
associates a port with a port-channel. To remove a port from a
port-channel, use the no form of this command.
Syntax
channel-group port-channel-number mode {on | auto}
no channel-group
Parameters
■ port-channel_number — Specifies the number of the valid
port-channel for the current port to join. (Range: 1-8)
■ on — Forces the port to join a channel without an LACP operation.
Console(config)#
interface range port-channel
1-2,6