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.


S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Ethernet Switching

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, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, 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).
Configuring an ERP Instance and Activating the Mapping Between the ERP Instance and VLAN

Configuring an ERP Instance and Activating the Mapping Between the ERP Instance and VLAN


On a Layer 2 device running ERPS, the VLAN in which RAPS PDUs and data packets are transmitted must be mapped to an ERP instance so that ERPS forwards or blocks the packets based on configured rules. If the mapping is not configured, the preceding packets may cause broadcast storms on the ring network. As a result, the network becomes unavailable.


  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    The ERPS ring view is displayed.

  3. Run protected-instance { all | { instance-id1 [ to instance-id2 ] &<1-10> } }

    An ERP instance is created for the ERPS ring.

    By default, no ERP instance is configured in an ERPS ring.

    • If the stp mode (system view) command is used to set the STP working mode to VLAN-based Spanning Tree (VBST), the ERP instance specified by the protected-instance command must be the created static instance.

    • If you run the protected-instance command multiple times in the same ERPS ring, multiple ERP instances are configured.

    • If the ERPS ring contains ports, the ERP instance cannot be changed. To delete the configured ERP instance, run the undo erps ring command in the interface view or the undo port command in the ERPS ring view to delete ports from the ERPS ring, and run the undo protected instance command to delete the ERP instance.

  4. Run quit

    The system view is displayed.

  5. Configure the mapping between an ERP instance and VLAN.

    1. Run stp region-configuration

      The Multiple Spanning Tree (MST) region view is displayed.

    2. Run instance instance-id vlan { vlan-id [ to vlan-id ] } &<1-10>

      The mapping between the ERP instance and VLAN is configured.

      By default, all VLANs in an MST region are mapped to instance 0.

      instance-id in this command must be the same as instance-id used by the protected-instance command.

      • A VLAN cannot be mapped to multiple MSTIs. If you map a VLAN that has already been mapped to an MSTI to another MSTI, the original mapping will be deleted.

      • The vlan-mapping modulo modulo command configures the mapping between MSTIs and VLANs based on the default algorithm. However, the mapping configured using this command cannot always meet the actual demand. Therefore, running this command is not recommended.

      • To configure the mapping between an ERP instance and a MUX VLAN, you are advised to configure the principal VLAN, subordinate group VLANs, and subordinate separate VLANs of the MUX VLAN in the same ERP instance. Otherwise, loops may occur.

    3. Run active region-configuration

      The mapping between the ERP instance and the VLAN is activated.

Updated: 2019-01-18

Document ID: EDOC1100038290

Views: 111754

Downloads: 24

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