STP Interface

You can set STP parameters on an interface.

Context

On certain networks, you need to modify STP parameters of some switches to optimize their performance.

Procedure

  1. Choose Service Management > STP > STP Interface in the navigation tree to open the STP Interface page.
  2. Select an interface and click Configure to open the STP Interface Settings page.

    Table 1 describes the parameters on the STP Interface Settings page.

    Table 1 STP Interface Settings

    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:
    • None

      No protection type is adopted.

    • Edge port

      When the spanning tree is recalculated, edge ports transit to the Forwarding state directly, which reduces the status transition time. If an Ethernet port is not connected to any Ethernet port of the switch, you need to configure the Ethernet port as an edge port.

    • Root protection

      Root protection prevents topology changes caused by incorrect configurations or malicious attacks.

    • Loop protection

      When link congestion occurs or a unidirectional link is generated, the port connected to the link cannot receive BPDUs from the upstream switch. In this case, the local switch selects a new root port, the original root port becomes the designated port, and the blocked port transits to the Forwarding state. Loop is then generated on the switching network. To prevent this problem, you can enable loop protection.

    Point To Point

    Indicates the point-to-point connection type of the interface. The options are:
    • auto

      The interface automatically detects whether it is connected to a point-to-point link.

    • force-true

      The interface is connected to a point-to-point link.

    • force-false

      The interface is not connected to a point-to-point link.

    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.

  3. Set the parameters.
  4. Click OK.

    NOTE:

    Select a record on the STP Interface Settings page and click Details. Detailed STP settings of the interface are displayed.


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.