2-561
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree channelvlancost
set spantree channelvlancost
To set the channel VLAN path cost and adjust the port VLAN costs of the ports that belong to the
channel, use the set spantree channelvlancost command.
set spantree channelvlancost channel_id cost
Syntax Description
Defaults The command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines You must set the channel VLAN cost one channel at a time.
You can use this command when your system is in LACP channel mode or PAgP channel mode.
For differences between PAgP and LACP, refer to the “Guidelines for Port Configuration” section of the
“Configuring EtherChannel” chapter of the Catalyst 6500 Series Switch Software Configuration Guide.
Examples This example shows how to set the VLAN cost to 10 for channe l 76 8:
Console> (enable) set spantree channelvlancost 768 10
Port(s) 1/1-2 vlan cost are updated to 24.
Channel 768 vlancost is set to 10.
Console> (enable)
Related Commands clear lacp-channel statistics
set channelprotocol
set lacp-channel system-priority
set port lacp-channel
set spantree channelcost
show lacp-channel
show port lacp-channel
channel_id Number of the channel identification.
cost Port costs of the ports in the channel.