344 CHAPTER 10: STP COMMANDS
set spantree
portvlanpri
Changes the priority of a network port or ports for selection as part of
the path to the STP root bridge, on one VLAN or all VLANs.
Syntax —
set spantree portvlanpri
port-list priority value {all | vlan vlan-id}
port-list — List of ports. MSS changes the priority on the specified
ports.
priority value — Priority value. You can specify a value from 0
(highest priority) through 255 (lowest priority).
all — Changes the priority on all VLANs.
vlan vlan-id — VLAN name or number. MSS changes the priority on
only the specified VLAN.
Defaults — The default STP priority for all network ports is 128.
Access — Enabled.
History —Introduced in MSS Version 3.0.
Examples — The following command sets the priority of ports 3 and 4 to
48 on VLAN mauve:
WX1200# set spantree portvlanpri 3-4 priority 48 vlan mauve
success: change accepted.
See Also
clear spantree portpri on page 321
clear spantree portvlanpri on page 322
display spantree on page 324
set spantree portpri on page 342
set spantree
priority
Changes the STP root bridge priority of a wireless LAN switch on one or
all of its VLANs.
Syntax —
set spantree priority value {all | vlan vlan-id}
priority value — Priority value. You can specify a value from 0
through 65,535. The bridge with the lowest priority value is elected to
be the root bridge for the spanning tree.