CLI user manual
30
www.3onedata.com
Operating
Command
Description
The
configuration
of RSTP
Config rstp_state
<priority><hellotime>
<delaytime> <maxage>
<priority> --RSTP priority
{0|4096|8192|12288|16384|20480
|24576|28672|32768|36864|40960|
45056|49152|53248|57344|61440}
<hellotime> --RSTP hellotime Range
[1-10]s
<delaytime> --RSTP delaytime Range
[4-30]s
<maxage> --RSTP maxage Range
[6-40]s
Config rstp_port
{1|2|3|4|5|6|7|8|G1|G2}
<pathcost> <portpriority> <p2p>
<edge><enable>
<pathcost> --Port pathcost Range
[0-200000000]
<portpriority> --Port portpriority
{0|16|32|48|64|80|96|112|128|144|160|
176|192|208|224|240}
<p2p> --Port p2p {no|yes|auto}
<edge> --Port edge {no|yes}
<enable> --Port enable {no|yes}
Modify the
RSTP port
Modify rstp
_state
<options>
<parameter>
<options>
-P
--modify priority
{0|4096|8192|12288|16384|20480|
24576|28672|32768|36864|40960|45056|
49152|53248|57344|61440}
-h --modify hellotime Range
[1-10]s
-d --modify delaytime Range
[4-30]s
-m --modify maxage Range
[6-40]s
Modify
rstp_port
{1|2|3|4|5|6|7|8|G1|G2}<options>
<parameter>
<options>
-c
--modify pathcost Range
[0-200000000]
-p
--modify
portpriority
{0|16|32|48|64|80|96|112|128|
144|160|176|192|208|224|240}
-t --modify p2p {no|yes|auto}
-e --modify edge {no|yes}
-a --modify enable {no|yes}
Example: RSTP port configuration
Switch(Ring)#
Enable 4