225
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:
GSW-2693(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 26
<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 26 <path cost>: 0, 1-200000000.
<priority> : 0 to 240 <edge_port> : yes / no
<admin p2p>: auto / true / false
Example:
GSW-2693(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:
GSW-2693(stp)# set version rstp
show config