![MicroNet SP1678A User Manual Download Page 118](http://html1.mh-extra.com/html/micronet/sp1678a/sp1678a_user-manual_1787939118.webp)
117
Example:
FEL2SW-26(stp)# disable
enable
Syntax
: enable
Description
: To enable the STP function.
Argument
: None
Possible value:
None
Example:
FEL2SW-26(stp)# enable
set config
Syntax
: set config <Bridge Priority> <Hello Time> <Max. Age> <Forward Delay>
Description
: To set up the parameters of STP.
Argument
:
<Bridge Priority>:priority must be a multiple of 4096,available from 0 to 61440.
<Hello Time>: available from 1 to 10.
<Max. Age>: available from 6 to 40.
<Forward Delay>: available from 4 to 30.
Note: 2*(Forward Delay -1) >= Max Age
Max Age >= 2*(Hello Time +1)
Possible value:
<Bridge Priority>: 0 to 61440
<Hello Time>: 1 to 10
<Max. Age>: 6 to 40
<Forward Delay>: 4 to 30
Example:
FEL2SW-26(stp)# set config 61440 2 20 15
set port
Syntax
:
set port <range> <path cost> <priority> <edge_port> <admin p2p>
Description
: To set up the port information of STP.
Argument
:
<range>: syntax 1,5-7, available from 1 to 24
<path cost>: 0, 1-200000000. The value zero means auto status
<priority>: priority must be a multiple of 16, available from 0 to 240
<edge_port>: Admin Edge Port, <yes|no>
<admin p2p>: Admin point to point, <auto|true|false>
Possible value:
<range>:1 to 24
<path cost>: 0, 1-200000000
<priority>: 0 to 240
<edge_port>: yes / no
<admin p2p>: auto / true / false
Example:
FEL2SW-26(stp)# set port 1-16 0 128 yes auto
set version
Syntax
: set version <stp|rstp>
Description
: To set up the version of STP.