Operation Manual
STP Commands
Mobility System Software Command Reference Guide
Version 7.3
13 – 360
Syntax
set spantree hello interval {all | vlan vlan-id}
Defaults
The default hello timer interval is 2 seconds.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Examples
The following command changes the hello interval for all VLANs to 4 seconds:
MX# set spantree hello 4 all
success: change accepted.
See Also
show spantree on page 13-364
set spantree maxage
Changes the maximum age for an STP root bridge hello packet that is acceptable to an MX acting
as a designated bridge on one or all of its VLANs. After waiting this period of time for a new hello
packet, the MX 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.
History
Introduced in MSS Version 1.0.
Examples
The following command changes the maximum acceptable age for root bridge hello
packets on all VLANs to 15 seconds:
MX# set spantree maxage 15 all
success: change accepted.
See Also
show spantree on page 13-364
set spantree portcost
Changes the cost that transmission through a network port or ports in the default VLAN on an
MX adds to the total cost of a path to the STP root bridge.
Syntax
set spantree portcost port-list cost cost
interval Interval value. You can specify from 1 through 10 seconds.
all Changes the interval on all VLANs.
vlan
vlan-id
VLAN name or number. MSS changes the interval on only the specified VLAN.
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. MSS changes the maximum age on only the specified VLAN.
port-list List of ports. MSS 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.