6-17
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 6 Configuring EtherChannel
Configuring an EtherChannel Using LACP
You can specify an administrative key value to a set of ports or the system automatically selects a value
if you do not specify the parameter
admin_key
. In both cases, the admin_key value can range from
1–1024.
If you choose a value for the administrative key, and this value has already been used in the system, then
all the ports that were originally associated with the previously assigned admin_key value are moved to
another automatically assigned value, and the modules and ports that you specified in the command are
assigned the admin_key value that you specified.
The maximum number of ports to which an administrative key can be assigned is eight.
The default mode for all ports being assigned the administrative key is passive. However, if the channel
was previously assigned a particular mode (see the
“Changing the Channel Mode” section on page 6-18
),
assigning the administrative key will not affect it, and the channel mode that you specified previously is
maintained.
To specify the administrative key value, perform this task in privileged mode:
This example shows how to assign the same administrative key to ports 4/1 to 4/4, with the system
picking its value automatically:
Console> (enable)
set port lacp-channel 4/1-4
Port(s) 4/1-4 are assigned to admin key 96.
Console> (enable)
This example shows how to assign the administrative key 96 (you specify the 96) to ports 4/4 to 4/6. In
this example, the administrative key was previously assigned to another group of ports by the system
(see the previous example):
Console> (enable)
set port lacp-channel 4/4-6 96
Port(s) 4/1-3 are moved to admin key 97.
Port(s) 4/4-6 are assigned to admin key 96.
Console> (enable)
This example shows the system response when more than eight ports are assigned the same
administrative key value (the request is denied, and no ports are assigned administrative key 123):
Console> (enable)
set port lacp-port channel 2/1-2,4/1-8 123
No more than 8 ports can be assigned to an admin key.
Console> (enable)
Enter the
show lacp-channel group
command to display administrative key values for ports, and to verify
that all ports in an EtherChannel share the same administrative key value. Enter the
set port
lacp-channel
mod/ports
admin_key
command if necessary to assign all EtherChannel ports to the same
administrative key.
Task
Command
Specify the administrative key value.
set port lacp-channel
mod/ports
[
admin_key
]