6-6
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 6 Configuring EtherChannel
Configuring EtherChannel
Setting the EtherChannel Port Path Cost
To set the EtherChannel port path cost, perform this task in privileged mode:
Note
When you enter the
set channel cost
command, it does not appear in the configuration file.
The command causes a “set spantree portcost” entry to be created for each port in the
channel. See the
“Configuring the PVST+ Port Cost”
section in
Chapter 8, “Configuring
Spanning Tree,”
for information 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 Status Channel Channel
group Mode id
----- ----- ---------- --------- --------
20 1/1 notconnect on 768
20 1/2 connected on 768
Admin Port Device-ID Port-ID Platform
group
----- ----- ------------------------------- ------------------------- ----------
20 1/1
20 1/2 066510644(cat26-lnf(NET25)) 2/1 WS-C6009
Console> (enable)
Console> (enable)
set channel cost 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
The EtherChannel VLAN cost feature provides load balancing of VLAN traffic across multiple channels
configured with trunking.
You enter the
set channel vlancost
command to set the initial spanning tree costs for all VLANs in the
channel. The
set channel vlancost
command provides an alternate cost for some of the VLANs in the
channel (assuming you are trunking across the channel). This command allows you to have up to two
different spanning tree costs assigned per channel; some VLANs in the channel can have the “vlancost”
while the remaining VLANs in the channel have the “cost.”
Task
Command
Step 1
Use the administrative group number to display
the EtherChannel ID.
show channel group
admin_group
Step 2
Use the EtherChannel ID to set the EtherChannel
port path cost.
set channel cost
{
channel_id
|
all
}
cost