Spanning Tree Protocol

This section describes how to configure a spanning tree protocol.

Context

A loop can easily occur on a complex network. To implement redundancy, network designers tend to deploy multiple physical links between two devices, one of which is the master and the others are the backup. Loops may occur. A loop causes broadcast storms. Consequently, network resources are exhausted and the network breaks down. In addition, a loop causes MAC address table flapping. As a result, MAC address entries are damaged.

You can deploy a spanning tree protocol to trim a network with loops into a loop-free tree network. The spanning tree protocol prevents infinite looping of packets to ensure packet processing capabilities of devices.

Procedure

  1. Choose Configuration to open the Configuration page. Click STP to open the STP page.

    Table 1 describes parameters on the spanning tree protocol configuration page.

    Table 1 Parameters on the STP configuration page

    Parameter

    Description

    STP status

    STP status:
    • OFF: STP is disabled globally.
    • ON: STP is enabled globally.

    STP on the port

    Whether to enable STP on the port:
    • Enable: Enable STP on the port.
    • Disable: Disable STP on the port.

  2. Click STP status to enable STP globally.
  3. Select a port that you want to configure.

    Perform either of the following operations.

    • Click the port icon to select a single port.
    • Drag the mouse to select consecutive ports in a batch.
    • Select an LPU and all ports on the LPU.

  4. Click Enable to enable STP on the port.

    By default, STP is enabled on a port.

  5. Check the configuration.

    If the STP status and port roles are displayed on all ports that need to be enabled with STP, the configuration is successful and STP takes effect.

    NOTE:
    • If the interface is shut down, goes Down, or is not on the ring network, after STP is successfully configured, the information that STP has been enabled and is invalid is displayed on the interface icon.

    • If STP is configured on an Eth-Trunk, STP takes effect only on the Eth-Trunk. However, the STP status, port roles, and Eth-Trunk ID are displayed on its member interfaces.


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