CLI ReferenceInterface Configuration Commands
MSTP Configuration Commands
Related Commands
Command
Description
spanning-tree mst
configuration
Enter the MST region configuration.
spanning-tree mst cost
Show the path cost of the instance.
spanning-tree mst
max-hops
Show the maximum hops of the instance.
spanning-tree mst priority
Show the device priority of the instance.
spanning-tree mst
port-priority
Show the port priority of the instance.
Platform Description
-
spanning-tree
This command is used to enable MSTP and configure its basic settings globally. The
no
option
of the command disables the spanning-tree function. The
no
option of the command with
parameters only restores the corresponding parameters to the default values, but does not
disable the spanning-tree function.
spanning-tree
[
forward-time
seconds
|
hello-time
seconds
|
max-age
seconds
]
no spanning-tree
[
forward-time | hello-time | max-age
]
Parameter
Description
Parameter
Description
forward-time
seconds
Interval at which the port status changes
hello-time
seconds
Interval at which the device sends the BPDU message
max-age
seconds
Maximum aging time of the BPDU message
Defaults
Disabled
Command Mode
Global configuration mode
Usage Guide
The values of
forward-time, hello time
and
max-age
are interrelated. Modifying one of
these three parameters will affect the others. There is a restricted relationship among the
above three values as shown below:
2*(Hello Time+1.0snd) <= Max-Age Time <= 2*(Forward-Delay
–1.0snd)
If the values do not meet the condition, the settings will fail.
Configuration
Examples
Example 1: Enable the spanning-tree function:
Ruijie(config)#
spanning-tree
Example 2: Configure the BridgeForwardDelay:
Ruijie(config)# spanning-tree forward-time
10
Related Commands
Command
Description
show spanning-tree
Show the global STP configuration.
spanning-tree mst cost
Set the PathCost of an STP interface.
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...