Stp Max-Hops; Stp Mcheck - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

[Sysname-GigabitEthernet1/0/1] stp loop-protection

stp max-hops

Syntax
stp max-hops hops
undo stp max-hops
View
System view
Default Level
2: System level
Parameters
hops: Maximum hops, in the range of 1 to 40
Description
Use the stp max-hops command to set the maximum hops of the MST region on the device.
Use the undo stp max-hops command to restore the maximum hops to the default setting.
Setting the maximum hops of MST regions is to limit the sizes of MST regions. By default, the maximum
number of hops of an MST region is 20.
Related commands: display stp.
Examples
# Set the maximum hops of the MST region on the device to 35.
<Sysname> system-view
[Sysname] stp max-hops 35

stp mcheck

Syntax
stp mcheck
View
System view, Layer 2 Ethernet port view, Layer 2 aggregate port view
Default Level
2: System level
Parameters
None
Description
Use the stp mcheck command to carry out the mCheck operation globally or on the current port.
1-25

Advertisement

Table of Contents
loading

Table of Contents