80
Step Command Remarks
stp vlan
vlan-id-list
timer hello
time
4.
Set the max age timer.
•
In STP/RSTP/MSTP mode:
stp
timer max-age time
•
In PVST mode:
stp vlan
vlan-id-list
timer
max-age time
The default setting is 20 seconds.
Setting the timeout factor
The timeout factor is a parameter used to decide the timeout period. The formula for calculating the
timeout period is:
timeout period = timeout factor × 3 × hello time
.
On a stable network, each non-root-bridge device forwards configuration BPDUs to the downstream
devices at the hello time interval to detect link failures. If a device does not receive a BPDU from the
upstream device within nine times the hello time, it assumes that the upstream device has failed.
Then, it starts a new spanning tree calculation process.
An upstream device might be too busy to forward configuration BPDUs in time, for example, many
Layer 2 interfaces are configured on the upstream device. As a result, the downstream device fails to
receive a BPDU within the timeout period and then starts an undesired spanning tree calculation.
The calculation might fail, and it also wastes network resources. To prevent undesired spanning tree
calculation and save network resources on a stable network, you can set the timeout factor to 5, 6, or
7.
To set the timeout factor:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the timeout factor of the
device.
stp timer-factor factor
The default setting is 3.
Setting the BPDU transmission rate
The maximum number of BPDUs a port can send within each hello time equals the BPDU
transmission rate plus the hello timer value. Set an appropriate BPDU transmission rate based on
the physical status of the port and the network structure.
The higher the BPDU transmission rate, the more BPDUs are sent within each hello time, and the
more system resources are used. By setting an appropriate BPDU transmission rate, you can limit
the rate at which the port sends BPDUs. Setting an appropriate rate also prevents spanning tree
protocols from using excessive network resources when the network topology changes. As a best
practice, use the default setting.
To set the BPDU transmission rate:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet or
aggregate interface view.
interface interface-type
interface-number
N/A
3.
Set the BPDU transmission
stp transmit-limit
limit
The default setting is 10.
Summary of Contents for H3C S7500E-X
Page 70: ...57 ...