Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-38
The larger the
packetnum
argument is, the more packets a port can transmit in each
hello time, while the more switch resources are occupied. Configure the
packetnum
argument to a proper value to limit the number of BPDUs a port can send in each hello
time to prevent MSTP from occupying too much bandwidth resources when network
topology jitter occur.
Related commands:
stp transmit-limit
.
Examples
# Set the maximum transmitting speed of Ethernet 1/0/3 to 15.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/3 transmit-limit 15
1.1.33 stp loop-protection
Syntax
stp loop-protection
undo stp
loop-protection
View
Ethernet port view
Parameters
None
Description
Use the
stp loop-protection
command to enable the loop guard function on the
current port.
Use the
undo stp loop-protection
command to restore the loop guard function to the
default state on the current port.
By default, the loop guard function is disabled.
A switch maintains the states of the root port and other blocked ports by receiving and
processing BPDUs from the upstream switch. These BPDUs may get lost because of
network congestion or unidirectional link failures. If a switch does not receive BPDUs
from the upstream switch for a certain period, the switch selects a new root port; the
original root port becomes a designated port; and the blocked ports turn to the
forwarding state. This may cause loops in the network.
The loop guard function suppresses loops. With this function enabled, if link
congestions or unidirectional link failures happen, a root port becomes a designated
port, and the port turns to the discarding state. The blocked port also becomes the