No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling STP/RSTP

Enabling STP/RSTP


After STP/RSTP is enabled on a ring network, spanning tree calculation starts immediately on the network. Configurations on a switching device, such as the device priority and port priority, affect spanning tree calculation. Any change to the configurations may cause network flapping. To ensure rapid, stable spanning tree calculation, perform basic configuration on the switching device and its ports before enabling STP/RSTP.


  • Enable STP/RSTP on a switching device.
    1. Run system-view

      The system view is displayed.

    2. Run stp enable

      STP/RSTP is enabled on the switching device.

      By default, STP/RSTP is enabled on a router.

  • Enable STP/RSTP on an interface device.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run stp enable

      STP/RSTP is enabled on the interface.

      By default, STP/RSTP is enabled on the interface.

Follow-up Procedure

When the topology of a spanning tree changes, the forwarding paths for associated VLANs are changed. Switching devices need to update the ARP entries corresponding to those VLANs. Depending on how switching devices process ARP entries, STP/RSTP convergence mode can be fast or normal.

  • In fast mode, ARP entries to be updated are directly deleted.

  • In normal mode, ARP entries to be updated are rapidly aged.

    The remaining lifetime of ARP entries to be updated is set to 0 to immediately age the ARP entries out. If the number of ARP aging probes is greater than 0, the switching device performs aging probe for these ARP entries.

Run the stp converge { fast | normal } command in the system view to configure the STP/RSTP convergence mode.

By default, the normal STP/RSTP convergence mode is used. The normal mode is recommended. If the fast mode is used, ARP entries will be frequently deleted, causing a high CPU usage (even 100%). As a result, network flapping will frequently occur.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 62913

Downloads: 41

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next