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.
The system view is displayed.
The ERPS ring view is displayed.
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.
The system view is displayed.
The Multiple Spanning Tree (MST) region view is displayed.
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.
Run active region-configuration
The mapping between the ERP instance and the VLAN is activated.