2-291
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set channel vlancost
set channel vlancost
To set the channel VLAN cost, use the set channel vlancost command.
set channel vlancost channel_id cost
Syntax Description
Defaults The default is the VLAN cost is updated automatically based on the current port VLAN costs of the
channeling ports.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you do not enter the cost, the cost is updated based on the current port VLAN costs of the
channeling ports.
You can configure only one channel at a time.
Note The set channel vlancost command creates a “set spantree portvlancost” entry for each port in the
channel. You must then manually reenter the set spantree portvlancost command for at least one port
in the channel, specifying the VLAN or VLANs t hat yo u want asso ci at ed wi th t h e por t . W hen you
associate the desired VLAN or VLANs with one port, all ports in the channel are automatically up dated.
Refer to Chapter 6, “Configuring EtherChannel,” in the Catalyst 6500 Series Switch Software
Configuration Guide for more information.
Note With software releases 6.2(1) and earlier, the 6- and 9-slot Catalyst 6500 series switches support a
maximum of 128 EtherChannels.
With software releases 6.2(2) and later, due to the port ID handling by the spanning tree feature, the
maximum supported number of EtherChannels is 126 for a 6- or 9-slot chassis and 63 for a 13-slot
chassis. Note that the 13-slot chassis was first supported in software release 6.2(2).
Examples This example shows how to set the channel 769 path cost t o 10:
Console> (enable) set channel vlancost 769 10
Port(s) 1/1-2 vlan cost are updated to 24.
Channel 769 vlancost is set to 10.
Console> (enable)
channel_id Number of the channel identification; valid values are from 769 to 896.
cost Port costs of the ports in the channel.