338 CHAPTER 10: STP C OMMANDSSyntax — set spantree portpri port-list priority value■ port-list — List of ports. MSS changes the priority on the specifiedports.■ priority value — Priority value. You can specify a value from 0(highest priority) through 255 (lowest priority).Defaults — The default STP priority for all network ports is 128.Access — Enabled.History — Introduced in MSS Version 3.0.Usage — This command applies only to the default VLAN (VLAN 1). Tochange the priority of a port in another VLAN, use the set spantreeportvlanpri command.Examples — The following command sets the priority of ports 3 and 4 to48:WX1200# set spantree portpri 3-4 priority 48success: change accepted.See Also■ “clear spantree portpri” on page 317■ “clear spantree portvlanpri” on page 318■ “display spantree” on page 320■ “set spantree portvlanpri” on page 339set spantreeportvlancostChanges the cost of a network port or ports on paths to the STP rootbridge for a specific VLAN on a wireless LAN switch.Syntax — set spantree portvlancost port-list cost cost {all |vlan vlan-id}■ port-list — List of ports. MSS applies the cost change to all thespecified ports.■ cost cost — Numeric value. You can specify a value from 1 through65,535. STP selects lower-cost paths over higher-cost paths.■ all — Changes the cost on all VLANs.