You can set STP parameters on an interface.
On certain networks, you need to modify STP parameters of some switches to optimize their performance.
Table 1 describes the parameters on the STP Interface Settings page.
Parameter |
Description |
|
|---|---|---|
Interface |
Indicates the name of an interface. It is displayed automatically and cannot be modified after you select an interface. You can select only one interface each time. |
|
STP |
Indicates whether to enable STP. By default, STP is enabled. When STP is disabled on an interface, the interface does not take part in the spanning tree calculation and is always in Forwarding state.
NOTE:
Loops may occur when STP is disabled on an interface. |
|
Instance |
Instance |
Indicates the ID of an MSTI. You can select any MSTI ID ranging from 0 to 48. NOTE:
S2700EI or S2700EI-52P switches MSTI ID ranging from 0 to 16. |
Port Priority |
Indicates the priority of the interface. The priority of an interface affects its role in the specified MSTI. You can set different priorities for an interface in different MSTIs so that traffic of VLANs can be load balanced among different
physical links.
NOTE:
When the priority of an interface changes, MSTP recalculates the role of the interface and changes the status of the interface. |
|
Path Cost |
Indicates the path cost of the interface. The value range varies according to the calculation algorithm of path costs. The value ranges from 1 to 200000 when Huawei proprietary algorithm is used; the value ranges from 1 to 65535 when the algorithm defined in IEEE 802.1D is used; the value ranges from 1 to 200000000 when the algorithm defined in IEEE 802.1t is used. The path cost is the basis for calculating the spanning tree. If you set different path costs for an interface in
different MSTIs, traffic of different VLANs is load balanced among multiple physical links.
NOTE:
When the path cost of an interface changes, the MSTP recalculates the spanning tree based on the new path cost. |
|
Advanced |
Protection Type |
Indicates the protection type on an interface. The options are:
|
Point To Point |
Indicates the point-to-point connection type of the interface. The options are:
The default value is auto. |
|
Max BPDUs Sent |
Indicates the maximum number of BPDUs that an interface can send in a hello interval. A larger value indicates more BPDUs sent in a hello interval and therefore more system resources occupied. A proper value of this parameter can limit the rate of sending BPDUs and prevent excessive bandwidth usage when network flapping occurs. |
|
Digest Snooping |
Indicates whether to enable digest snooping. By default, digest snooping is disabled.
NOTE:
You can configure digest snooping to make the BPDU key of a Huawei device the same as that of a third-party device. |
|
Rapid Transition |
Indicates the rapid status transition mode. The options are Normal and Enhanced. The default value is Enhanced. |
|
Select a record on the STP Interface Settings page and click Details. Detailed STP settings of the interface are displayed.