Example:
SP1659P(stp)# set port 1-16 0 128 yes auto
set version
Syntax: set version <stp|rstp>
Description: To set up the version of STP.
Argument: <stp|rstp>:stp / rstp
Possible value: <stp|rstp>:stp / rstp
Example:
SP1659P(stp)# set version rstp
show config
Syntax: show config
Description: To display the configuration of STP.
Argument: None
Possible value: None
Example:
SP1659P(stp)# show config
STP State Configuration :
Spanning Tree Protocol : Enabled
Bridge Priority (0-61440) : 61440
Hello Time (1-10 sec) : 2
Max. Age (6-40 sec) : 20
Forward Delay (4-30 sec) : 15
Force Version : RSTP
show port
Syntax: show port
Description: To display the port information of STP.
Argument: None
Possible value: None
Example:
SP1659P# stp
SP1659P(stp)# show port
Port Port Status Path Cost Priority Admin Edge Port Admin Point To Point
================================ ====================
1 DISCARDING 2000000 128 No Auto
2 DISCARDING 2000000 128 No Auto
3 DISCARDING 2000000 128 No Auto
4 DISCARDING 2000000 128 No Auto
5 DISCARDING 2000000 128 No Auto
6 DISCARDING 2000000 128 No Auto
7 DISCARDING 2000000 128 No Auto
8 DISCARDING 2000000 128 No Auto
9 DISCARDING 2000000 128 No Auto
10 DISCARDING 2000000 128 No Auto
11 DISCARDING 2000000 128 No Auto
12 DISCARDING 2000000 128 No Auto
13 DISCARDING 2000000 128 No Auto
14 DISCARDING 2000000 128 No Auto
15 DISCARDING 2000000 128 No Auto
16 DISCARDING 2000000 128 No Auto
17 DISCARDING 2000000 128 No Auto
18 DISCARDING 2000000 128 No Auto
19 DISCARDING 2000000 128 No Auto
20 DISCARDING 2000000 128 No Auto
21 DISCARDING 2000000 128 No Auto
109