Command Reference MSTP Commands
show spanning-tree interface
Displays the STP configuration of the interface.
9.27 spanning-tree loopguard default
Use this command to enable loop guard globally to prevent the root port or backup port from
generating loop since they cannot receive bpdu. Use the no form of this command to restore the
default setting.
spanning-tree loopguard default
no spanning-tree loopguard default
This function is disabled by default.
Global configuration mode.
Enabling loop guard on a root port or backup port will prevent possible loops caused by BPDU receipt
failure.
The following example enables loop guard globally to prevent the root port or backup port from
generating loop since they cannot receive bpdu.
Ruijie(config)# spanning-tree loopguard default
9.28 spanning-tree max-hops
Use this command to set the maximum number of hops(Max-hopsCount) of the BPDU message in
the global configuration mode, the number of hops in a region that the BPDU message passes before