channel-group
To associate a port with a port-channel, use the channel-group Interface (Ethernet) Configuration mode command. To remove a port from a port-channel, use the no form of this command.
Syntax
channel-group port-channel mode {on | auto}
no channel-group
Parameters
-
port-channel—Specifies the port channel number for the current port to join.
-
mode—Specifies the mode of joining the port channel. The possible values are:
on—Forces the port to join a channel without an LACP operation.
auto—Forces the port to join a channel as a result of an LACP operation.
Default Configuration
The port is not assigned to a port-channel.
Command Mode
Interface (Ethernet) Configuration mode
Default mode is on.
User Guidelines
LACP starts to manage port joining.
When the auto mode is configured and there are not received LACP messages on all port-candidates then one of candidates is joined. When the first LACP message is received the port is disjoined and LACP starts to manage port joining.
Example
The following example forces port gi1/0/1 to join port-channel 1 without an LACP operation.
switchxxxxxx(config)# interface gi1/0/1
switchxxxxxx(config-if)# channel-group 1 mode on