STP, VLAN, and IGMP settings can only be m ade for t he en tire tr unk via the
specified port-channel.
Dynamically Creating a Port Channel –
Ports assigned to a common port channel must meet the following criteria :
Ports must have the same LACP system priorit y.
Ports must have the same port admin key (Ethernet Interface).
If th e port channel admin key (lacp ad min key - Port Chann el) is not set when
a channel group is formed (i.e., it has the null value of 0), thi s ke y is set to the
same value as the port admin key (lacp admin key - Et hern et In terface ) used
by the interfaces that joined the group.
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 joi n a channel gr oup.
If a link goes down, LACP port priority is used t o selec t t he 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 (Range: 1-32)
Default Setting
The current port will be added t o this trun k.
Command Mode
Interface Configuration (Ethernet)
Command Usage
When configuring static trunks, the switches must comp ly with the Cisc o
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 11:
Console(config)#interface port-channel 1
Console(config-if)#exit
Console(config)#interface ethernet 1/11
Console(config-if)#channel-group 1
Console(config-if)#
28-2
Link Aggregation Commands
28