62
Blocking
Port:
This
field
shows
which
is
blocked
port
of
RM.
Role
Transition
Count:
This
means
how
many
times
this
switch
has
changed
its
Role
from
nonRM
to
RM
or
from
RM
to
nonRM.
Role
state
Transition
Count
:
This
number
means
how
many
times
the
Ring
status
has
been
transformed
between
Normal
and
Abnormal
state.
4.4.5
Command
Lines:
Feature
Command Line
RSTP
Enable
Switch(config)# spanning-tree enable
Disable
Switch (config)# spanning-tree disable
RSTP mode
Switch(config)# spanning-tree mode rapid-stp
SpanningTree Mode change to be RSTP(802.1w) .
STP mode
Switch(config)# spanning-tree mode stp
SpanningTree Mode change to be STP(802.1d) .
Priority
Switch(config)# spanning-tree priority
<0-61440> valid range is 0 to 61440 in multiple of
4096
Switch(config)# spanning-tree priority 4096
Max Age
Switch(config)# spanning-tree max-age
<6-40> Valid range is 6~40 seconds
Switch(config)# spanning-tree max-age 10
Hello Time
Switch(config)# spanning-tree hello-time
<1-10> Valid range is 1~10 seconds
Switch(config)# spanning-tree hello-time 2
Forward Delay
Switch(config)# spanning-tree forward-time
<4-30> Valid range is 4~30 seconds
Switch(config)# spanning-tree forward-time 15
Port Path Cost
Switch(config-if)# spanning-tree cost
<1-200000000> 16-bit based value range from
1-65535, 32-bit based value range
from 1-200,000,000
Switch(config-if)# spanning-tree cost 200000
Port Priority
Switch(config-if)# spanning-tree port-priority
<0-240> Number from 0 to 240, in multiple of 16
Switch(config-if)# spanning-tree port-priority 128
Link Type - Auto
Switch(config-if)# spanning-tree link-type auto