C
HAPTER
27
| Link Aggregation Commands
Dynamic Configuration Commands
– 998 –
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-16)
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 interface port-channel to remove a trunk from the switch.
EXAMPLE
The following example creates trunk 1 and then adds port 10:
Console(config)#interface port-channel 1
Console(config-if)#exit
Console(config)#interface ethernet 1/10
Console(config-if)#channel-group 1
Console(config-if)#
Dynamic Configuration Commands
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)
COMMAND USAGE
◆ The ports on both ends of an LACP trunk must be configured for full
duplex, either by forced mode or auto-negotiation.