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.


Configuration Guide - Ethernet Switching

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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


Before enabling STP/RSTP, ensure that you have performed all basic configurations, such as the device priority and port priority, on the device and its ports. After STP/RSTP is enabled on a ring network, spanning tree calculation starts immediately on the network. Making changes to configurations will affect spanning tree calculation and may cause network flapping.


  1. Run system-view

    The system view is displayed.

    STP/RSTP-enabled devices calculate spanning trees by exchanging BPDUs. Therefore, all the interfaces participating in spanning tree calculation must be enabled to send BPDUs to the CPU for processing. By default, an interface is enabled to send BPDUs to the CPU. You can run the bpdu enable command in the interface view to enable an interface to send BPDUs to the CPU. The S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI do not support the bpdu command.

  2. Run stp enable

    STP/RSTP is enabled on the device.

    By default, STP/RSTP is enabled on a device. If you specify a VLANIF interface of a VLAN as the management network interface for an STP/RSTP-enabled device, you can run the ethernet-loop-protection ignored-vlan command to specify this VLAN as an ignored VLAN. Then interfaces in the ignored VLAN will not enter the Blocking state and stay in Forwarding state. Therefore, services will not be interrupted on these interfaces.


    To prevent the CPU from being affected and faults such as network flapping from occurring, the following lists the recommended maximum number of STP-enabled ports in Up state for different models:

    S1720GFR-TP, S2750EI, S5700LI, and S5700S-LI: 64

    S1720GF, S1720GFR-P, S1720GW, S1720GWR, S1720GW-E, S1720GWR-E, S2720EI, S5710-X-LI, S5720LI, S5720S-LI, S5730SI, S5730S-EI, S1720X, S1720X-E, S6720LI, S6720S-LI, S6720SI, S6720S-SI, S5720I-SI, S5720SI, and S5720S-SI: 128

    S5720EI: 200

    S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI: 256

Follow-up Procedure

When the topology of a spanning tree changes, the forwarding paths for associated VLANs are changed. Devices need to update the ARP entries corresponding to those VLANs. Depending on how 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 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: 2018-12-24

Document ID: EDOC1100038339

Views: 159634

Downloads: 685

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