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: If the command returns an error on one of the interfaces, it will not stop the
execution of the command on other interfaces.
Example
The following example shows how port-channels 1, 2 and 8 are grouped to receive the same
command.
Console (config)# interface range port-channel 1-2
Console (config-if)#
channel-group
The channel-group Interface Configuration 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
•
port-channel_number—Specifies the number of the valid port-channel for the current
port to join.
•
on—Forces the port to join a channel.
•
auto—Allows the port to join a channel as a result of an LACP operation.
Default Configuration
The port is not assigned to any port-channel.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
•
There are no user guidelines for this command.
202
Port Channel Commands