Admin and Operational key are usually the same, but using static LACP can alter the Operational key during
runtime, in which case the keys would differ.
The
lacp key
command configures both the Admin and Operational keys when using dynamic LACP trunks. It
only configures the Admin key if the trunk is a static LACP trunk. It is executed in the interface context.
Syntax:
[no] lacp [active | passive | key <0-65535>]
Sets the LACP key. During dynamic link aggregation using LACP, ports with the same key are aggregated as a
single trunk.
Enabling LACP and configuring an LACP key
switch(config)# int A2-A3 lacp active
switch(config)# int A2-A3 lacp key 500
switch(config)# show lacp
LACP
LACP Trunk Port LACP Admin Oper
Port Enabled Group Status Partner Status Key Key
---- ------- ------- ------- ------- ------- ------ ------
A2 Active A2 Down No Success 500 500
A3 Active A3 Down No Success 500 500
An interface configured with a different LACP key
switch(config)# int A5 lacp active
switch(config)# int A5 lacp key 250
switch# show lacp
LACP
LACP Trunk Port LACP Admin Oper
Port Enabled Group Status Partner Status Key Key
---- ------- ------- ------- ------- ------- ------ ------
A1 Active Dyn1 Up Yes Success 100 100
A2 Active Dyn1 Up Yes Success 100 100
A3 Active Dyn1 Up Yes Success 100 100
A4 Active Dyn1 Up Yes Success 100 100
A5 Active A5 Up No Success 250 250
Static trunk
The switch uses the links you configure with the Port/Trunk Settings screen in the menu interface or the
trunk
command in the CLI to create a static port trunk. The switch offers two types of static trunks: LACP and Trunk.
Table 10: Trunk types used in static and dynamic trunk groups
Trunking method
LACP
Trunk
Dynamic
Yes
No
Static
Yes
Yes
The following table describes the trunking options for LACP and Trunk protocols.
Chapter 5 Port Trunking
131