The EtherChannel VLAN cost feature provides load balancing of VLAN traffic across multiple channels that are configured with trunking.
You enter the set spantree channelvlancost command to set the initial spanning-tree costs for all VLANs in the channel. The set spantree channelvlancost command provides an alternate cost for some of the VLANs in the channel (assuming that 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."
The set spantree channelvlancost command creates a "set spantree portvlancost" entry to the configuration file for each port in the channel. After you enter the set spantree channelvlancost command, you must enter the set spantree portvlancost command for at least one port in the channel, specifying the VLAN or VLANs that you want associated with each port. This example shows what occurs when you enter each command:
Console> (enable) set spantree channelvlancost 856 10
大哥答案就在这里
The EtherChannel VLAN cost feature provides load balancing of VLAN traffic across multiple channels that are configured with trunking.
You enter the set spantree channelvlancost command to set the initial spanning-tree costs for all VLANs in the channel. The set spantree channelvlancost command provides an alternate cost for some of the VLANs in the channel (assuming that 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."
The set spantree channelvlancost command creates a "set spantree portvlancost" entry to the configuration file for each port in the channel. After you enter the set spantree channelvlancost command, you must enter the set spantree portvlancost command for at least one port in the channel, specifying the VLAN or VLANs that you want associated with each port. This example shows what occurs when you enter each command:
Console> (enable) set spantree channelvlancost 856 10