83AT-IFS802SP-80 User Manual
Spanning Tree Commands Set
Netstar Commands Level Description Example
spanning-tree enable G Enable spanning tree switch(cong)#spanning-treeenable
spanning-tree priority
[0~61440] GCongurespanningtree
priority parameter
switch(cong)#spanning-treepriority
32768
spanning-tree max-age
[seconds] G
Use the spanning-tree max-
ageglobalconguration
command to change the
interval between messages
the spanning tree receives
from the root switch. If a
switch does not receive a
bridge protocol data unit
(BPDU) message from the
root switch within this
interval, it recomputed the
Spanning Tree Protocol
(STP) topology.
switch(cong)#spanning-treemax-age15
spanning-tree hello-
time [seconds] G
Use the spanning-tree hello-
timeglobalconguration
command to specify the
interval between hello
bridge protocol data units
(BPDUs).
switch(cong)#spanning-treehello-time3
spanning-tree
forward-time
[seconds]
G
Use the spanning-tree
forward-time global
congurationcommandto
set the forwarding-time for
thespeciedspanning-tree
instances. The forwarding
time determines how long
each of the listening and
learning states last before
the port begins forwarding.
switch(cong)#spanning-treeforward-time
20
stp-path-cost
[1~200000000] I
Use the spanning-tree cost
interfaceconguration
command to set the path
cost for Spanning Tree
Protocol (STP) calculations.
In the event of a loop,
spanning tree considers the
path cost when selecting
an interface to place into
the forwarding state.
switch(cong)#interfacefastEthernet2
switch(cong-if)#stp-path-cost20