3
Configuring the Switch
CLI – The following example enables LACP for ports 1 to 6. Just connect these ports
to LACP-enabled trunk ports on another switch to form a trunk.
Console(config)#interface ethernet 1/1
Console(config-if)#lacp
Console(config-if)#exit
. .
.
Console(config)#interface ethernet 1/6
Console(config-if)#lacp
Console(config-if)#end
Console#show interfaces status port-channel 1
Information of Trunk 1
Basic information:
Port type:
Mac address:
Configuration:
Name:
Port admin:
Speed-duplex:
Capabilities:
Flow control status:
Port security:
Max MAC count:
Current status:
Created by:
Link status:
Port operation status:
Operation speed-duplex: 100full
Flow control type:
Member Ports: Eth1/1, Eth1/2, Eth1/3, Eth1/4, Eth1/5, Eth1/6,
Console#
Configuring LACP Parameters
Dynamically Creating a Port Channel –
Ports assigned to a common port channel must meet the following criteria:
• Ports must have the same LACP System Priority.
• Ports must have the same LACP port Admin Key.
• However, if the "port channel" Admin Key is set (
must be set to the same value for a port to be allowed to join a channel group.
Note – If the port channel admin key (lacp admin key, 4-135) is not set (through the CLI)
when a channel group is formed (i.e., it has a null value of 0), this key is set to the same
value as the port admin key used by the interfaces that joined the group (lacp admin key,
as described in this section and on 4-134).
Command Attributes
Set Port Actor – This menu sets the local side of an aggregate link; i.e., the ports on
this switch.
• Port – Port number. (Range: 1-26/50)
• System Priority – LACP system priority is used to determine link aggregation
group (LAG) membership, and to identify this device to other switches during LAG
negotiations. (Range: 0-65535; Default: 32768)
- Ports must be configured with the same system priority to join the same LAG.
3-84
100TX
00-12-CF-12-34-89
Up
Auto
10half, 10full, 100half, 100full
Disabled
Disabled
0
Lacp
Up
Up
None
), then the port Admin Key
4-135
4-116
4-132
4-123