6-18
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 6 Configuring EtherChannel
Configuring an EtherChannel Using LACP
Changing the Channel Mode
You can change the channel mode for a set of ports that were previously assigned the same administrative
key (see the
“Specifying an Administrative Key Value” section on page 6-16
).
To change the channel mode, perform this task in privileged mode:
This example shows how to change the channel mode for ports 4/1 and 4/6, setting it to
on
. The
administrative key for ports 4/1 and 4/6 is unchanged.
Console> (enable)
set port lacp-channel 4/1,4/6 mode on
Port(s) 4/1,4/6 channel mode set to on.
Console> (enable)
Use the
show lacp-channel group
admin_key
command to display the channel mode for ports.
Specifying the Channel Path Cost
You can specify the channel path cost by using a global command that configures both LACP and PAgP.
For more information, see the
“Setting the EtherChannel Port Path Cost” section on page 6-9
.
Specifying the Channel VLAN Cost
You can specify the channel VLAN cost by using a global command that configures both LACP and
PAgP. For more information, see the
“Setting the EtherChannel VLAN Cost” section on page 6-9
.
Configuring Channel Load Balancing
You can configure channel load balancing by using a global command that configures both LACP and
PAgP. For more information, see the
“Configuring EtherChannel Load Balancing” section on page 6-11
.
Clearing the LACP Statistics
To clear the LACP statistics, perform this task in privileged mode:
This example shows how to clear LACP statistics:
Console> (enable)
clear lacp-channel statistics
LACP channel counters are cleared.
Console> (enable)
Task
Command
Change the channel mode.
set port lacp-channel
mod/ports
mode
[
on
|
off
|
active
|
passive
]
Task
Command
Clear LACP statistics.
clear lacp-channel statistics