Hub/Switch Reference Guide
STP Commands 405
Nortel WLAN—Security Switch 2300 Series Command Line Reference
Examples
The following command changes the hello interval for all VLANs to 4 seconds:
WSS# set spantree hello 4 all
success: change accepted.
See Also
show spantree on page 400
set spantree maxage
Changes the maximum age for an STP root bridge hello packet that is acceptable to a WSS acting as a designated bridge
on one or all of its VLANs. After waiting this period of time for a new hello packet, the switch determines that the root
bridge is unavailable and issues a topology change message.
Syntax
set spantree maxage aging-time {all | vlan vlan-id}
Defaults
The default maximum age for root bridge hello packets is 20 seconds.
Access
Enabled.
Examples
The following command changes the maximum acceptable age for root bridge hello packets on
all VLANs to 15 seconds:
WSS# set spantree maxage 15 all
success: change accepted.
See Also
show spantree on page 400
set spantree portcost
Changes the cost that transmission through a network port or ports in the default VLAN on a WSS adds to the total cost
of a path to the STP root bridge.
Syntax
set spantree portcost port-list cost cost
aging-time Maximum age value. You can specify from 6 through 40 seconds.
all Changes the maximum age on all VLANs.
vlan
vlan-id
VLAN name or number. WSS Software changes the maximum age on
only the specified VLAN.
port-list List of ports. WSS Software applies the cost change to all the specified
ports.
cost cost
Numeric value. You can specify a value from 1 through 65,535. STP
selects lower-cost paths over higher-cost paths.










