Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
stp priority
A priority is set for the switching device.
The default priority value of a switching device is 32768.
----End
6.6.1.4 (Optional) Setting a Path Cost for a Port
Context
Path cost is the reference value used for link selection on an STP/RSTP network.
The path cost value range is determined by the calculation method. After the calculation method
is determined, it is recommended that you set smaller path cost values for the ports with higher
link rates.
In the Huawei calculation method, the link rate determines the recommended value for the path
cost.
Table 6-15 Mappings between link rates and path cost values
Link Rate
10 Mbit/s
100 Mbit/s
1 Gbit/s
10 Gbit/s
Over 10 Gbit/s
If a network has loops, it is recommended that you set a large path cost for ports with low link
rates. STP/RSTP then blocks these ports.
Issue 01 (2014-11-30)
priority
NOTE
If the stp root primary or stp root secondary command has been executed to configure the device as the
root bridge or secondary root bridge, run the undo stp root command to disable the root bridge or secondary
root bridge function and then run the stp priority priority command to set a priority.
Table 6-15
lists the recommended path costs for ports with different link rates.
Recommended
Path Cost
2000
200
20
2
1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 STP/RSTP Configuration
Recommended
Path Cost Range
200 to 20000
20 to 2000
2 to 200
2 to 20
1 to 2
Allowable Path
Cost Range
1 to 200000
1 to 200000
1 to 200000
1 to 200000
1 to 200000
192
Need help?
Do you have a question about the AR530 series and is the answer not in the manual?