Setting The Etherchannel Spanning Tree Port Cost; Setting The Etherchannel Spanning Tree Port Vlan Cost - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 6
Configuring Fast EtherChannel and Gigabit EtherChannel

Setting the EtherChannel Spanning Tree Port Cost

To set the spanning tree port cost for an EtherChannel, perform this task in privileged mode:
Task
Step 1
Determine the EtherChannel ID of the
EtherChannel for which you want to set the port
cost.
Step 2
Set the spanning tree port cost for an
EtherChannel using the EtherChannel ID
obtained in Step 1.
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 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 Spanning Tree Port VLAN Cost

The spanning tree port VLAN cost provides an alternate cost for some of the VLANs in a trunk channel.
This provides load balancing of VLAN traffic accross multiple channels configured with trunking, as
some VLANs in the channel can have port VLAN cost, and the remaining VLANS in the channel have
port cost.
To set the spanning tree port VLAN cost for an EtherChannel, perform this task in privileged mode:
Task
Step 1
Determine the EtherChannel ID of the
EtherChannel for which you want to set the port
VLAN cost.
Step 2
Set the spanning tree port VLAN cost for an
EtherChannel using the EtherChannel ID
obtained in Step 1.
78-12647-02
Status
Channel
Mode
1/1 notconnect on
1/2 connected
on
Device-ID
1/1
1/2
066510644(cat26-lnf(NET25))
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Command
show channel group admin_group
set channel cost {channel_id | all} cost
Channel
id
768
768
Port-ID
2/1
Command
show channel group admin_group
set channel vlancost {channel_id | all} cost
Configuring EtherChannel
Platform
WS-C6009
6-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents