![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/c9/3c9eda9c-0c62-4bb8-b13a-09cbc1f92284/3c9eda9c-0c62-4bb8-b13a-09cbc1f92284-bgf5.png)
Link Aggregation Commands
4-99
• However, if the port channel admin key is set, then the port admin key must be
set to the same value for a port to be allowed to join a channel group.
• If a link goes down, LACP port priority is used to select the backup link.
channel-group
This command adds a port to a trunk. Use the no form to remove a port from a trunk.
Syntax
channel-group channel-id
no channel-group
channel-id - Trunk index (Value: 1)
Default Setting
The current port will be added to this trunk.
Command Mode
Interface Configuration (Ethernet)
Command Usage
• When configuring static trunks, the switches must comply with the Cisco
EtherChannel standard.
•Use no channel-group to remove a port group from a trunk.
• Use no interfaces port-channel to remove a trunk from the switch.
Example
The following example creates trunk 1 and then adds port 13:
lacp
This command enables 802.3ad Link Aggregation Control Protocol (LACP) for the
current interface. Use the no form to disable it.
Syntax
[no] lacp
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Console(config)#interface port-channel 1
Console(config-if)#exit
Console(config)#interface ethernet 1/13
Console(config-if)#channel-group 1
Console(config-if)#