
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)
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...