The Hello Time is set for the switching device.
By default, the Hello Time is 200 centiseconds.
3.
Run:
stp timer max-age
max-age
The Max Age timer is set for the switching device.
By default, the Max Age timer is 2000 centiseconds.
----End
6.6.3.4 Setting the Maximum Number of Connections in an Eth-Trunk that Affects
Spanning Tree Calculation
Context
The path costs affect spanning tree calculation. Changes of path costs trigger spanning tree
recalculation. The path cost of an interface is affected by its bandwidth, so you can change the
interface bandwidth to affect spanning tree calculation.
, deviceA and deviceB are connected through two Eth-Trunk links.
Eth-Trunk 1 has three member interfaces in Up state and Eth-Trunk 2 has two member interfaces
in Up state. Each member link has the same bandwidth, and deviceA is selected as the root
bridge.
l
Eth-Trunk 1 has higher bandwidth than Eth-Trunk 2. After STP calculation, Eth-Trunk 1
on deviceB is selected as the root port and Eth-Trunk 2 is selected as the alternate port.
l
If the maximum number of connections affecting bandwidth of Eth-Trunk 1 is set to 1, the
path cost of Eth-Trunk 1 is larger than the path cost of Eth-Trunk 2. Therefore, the two
devices perform spanning tree recalculation. Then Eth-Trunk 1 on deviceB becomes the
alternate port and Eth-Trunk 2 becomes the root port.
Figure 6-15
Setting the maximum number of connections in an Eth-Trunk
Before
configuration
After
configuration
RouterA
RouterB
Eth-Trunk1
Eth-Trunk2
Alternate port
RouterA
RouterB
Designated port
Root port
Eth-Trunk1
Eth-Trunk2
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
6 STP/RSTP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
202