Command Lines for RSTP
RocketLinx ES7528 Industrial Managed PoE Rack Mount User Guide
: 2000509 Rev. A
- 75
Command Lines for RSTP
Command Lines for RSTP
This table provides detailed information about the CLI command lines for RSTP.
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 RST(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
Link Type - P2P
Switch(config-if)# spanning-tree link-type point-to-point