Chapter 6
Configuring EtherChannel
Setting the EtherChannel Port Path Cost
Note
You accomplish this task using a global command that configures both LACP and PAgP.
The channel path cost is achieved by adjusting the port costs of each port belonging to the channel. If
you do not specify the cost, it is updated based on the current port costs of the channeling ports. You may
address one channel or all channels.
To set the EtherChannel port path cost, perform this task in privileged mode:
Task
Step 1
Use the administrative group number to display
the EtherChannel ID.
Step 2
Use the EtherChannel ID to set the EtherChannel
port path cost.
When you enter the set spantree channelcost command, it does not appear in the configuration file. The
Note
command causes a "set spantree portcost" entry to be created for each port in the channel. See the
"Configuring the PVST+ Port Cost"
on using the set spantree portcost command.
This example shows how to set the EtherChannel port path cost for channel ID 768:
Console> (enable) show channel group 20
Admin Port
group
----- ----- ---------- --------- --------
20
20
Admin Port
group
----- ----- ------------------------------- ------------------------- ----------
20
20
Console> (enable)
Console> (enable) set spantree channelcost 768 12
Port(s) 1/1,1/2 port path cost are updated to 31.
Channel 768 cost is set to 12.
Warning:channel cost may not be applicable if channel is broken.
Console> (enable)
Setting the EtherChannel VLAN Cost
You accomplish this task by using a global command that configures both LACP and PAgP.
Note
OL-8978-04
Status
Channel
Mode
1/1 notconnect on
1/2 connected
on
Device-ID
1/1
1/2
066510644(cat26-lnf(NET25))
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Command
show channel group admin_group
or
show lacp-channel group admin_key
set spantree channelcost {channel_id | all} cost
section in
Chapter 7, "Configuring Spanning Tree,"
Channel
id
768
768
Port-ID
2/1
Configuring an EtherChannel Using PAgP
for information
Platform
WS-C6009
6-9