EasyManua.ls Logo

Ruijie RG-S29 Series - Page 374

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference MSTP Commands
being dropped. This parameter takes effect for all instances. Use the no form of this command to
restore the default setting.
spanning-tree max-hops hop-count
no spanning-tree max-hops
Parameter
Description
Parameter
Description
hop-count
Number of hops in a region that the BPDU message passes before
being dropped. The range is 1 to 40 hops.
Defaults
The default is 20 hops.
Command
Mode
Global configuration mode.
Usage Guide
In the region, the BPDU message sent by the root bridge includes a Hot Count field. When the BPDU
message passes a device, the Hop Count is decreased by 1 until it reaches 0, which indicates the
BPDU message times out. The device will drop the BPDU message whose Hop Count is 0.
Changing the max-hops command affects all instances.
Configuration
Examples
This example sets the max-hops of the spanning tree to 10 for all instances.
Ruijie(config)# spanning-tree max-hops 10
Related
Commands
Command
Description
show spanning-tree
Displays the MSTP information.
Platform
Description
N/A
9.29 spanning-tree mode
Use this command to set the STP version. Use the no form of the command to restore the default
setting.
spanning-tree mode [ stp | rstp | mstp ]
no spanning-tree mode
Parameter
Description
Parameter
Description
stp
Spanning tree protocol(IEEE 802.1d)
rstp
Rapid spanning tree protocol(IEEE 802.1w)
mstp
Multiple spanning tree protocol(IEEE 802.1s)

Table of Contents

Related product manuals