< Home

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

Context

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.

Procedure

  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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >