628 Port Channel Commands
channel-group
Use the channel-group command in Interface Configuration mode to
associate a port with a port channel. To remove the channel-group
configuration from the interface, use the no form of this command.
Syntax
channel-group

port-channel-number

mode {on | active}
no channel-group
port-channel-number
— Number of a valid port-channel with which to
associate the current interface.
on
— Forces the port to join a channel without LACP (static LAG).
active
— Forces the port to join a channel with LACP (dynamic LAG).
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
This command has no user guidelines.
Example
The following example shows how port 1/0/5 is configured to port-channel 1
without LACP
(static LAG)
.
console(config)# interface gigabitethernet 1/0/5
console(config-if-1/0/5)# channel-group 1 mode on
The following example shows how port 1/0/6 is configured to port-channel 1
with LACP
(dynamic LAG)
.
console(config)# interface gigabitethernet 1/0/6
console(config-if-1/0/6)# channel-group 1 mode active
2CSPC4.XCT-SWUM2XX1.book Page 628 Monday, October 3, 2011 11:05 AM