The protected-instance command configures an ERP instance for an ERPS ring.
The undo protected-instance command deletes the configured ERP instance.
By default, no ERP instance is configured on an ERPS ring.
Parameter | Description | Value |
---|---|---|
all |
Specifies all ERP instances. |
- |
instance-id1 |
Specifies the ID1 of an ERP instance. |
The value is an integer ranging from 0 to 4094. The value of instIdEnd must be greater than or equal to instId. |
to instance-id2 |
Specifies the ID2 of an ERP instance. |
The value is an integer ranging from 0 to 4094. The value of instIdEnd must be greater than or equal to instId. |
Usage Scenario
On a device running ERPS, the VLAN in which ERPS BPDUs and data packets are transmitted must be mapped to a protected instance so that ERPS forwards or blocks these packets based on rules. Otherwise, VLAN packets probably cause broadcast storms on the ring network. This will cause the network to be unavailable.
Configuration Impact
If the protected-instance command is run more than once on an ERPS ring to configure ERP instances, all these ERP instances take effect.
If any port has been added to the ERPS ring, no ERP instance can be modified. If the configured ERP instance needs to be deleted, run the undo erps ring command in the interface view or the undo port command in the ERPS ring view, and run the undo protected-instance command to delete the ERP instance.Follow-up Procedure
Configure the mapping between the instance and the VLAN. Ensure that the control VLAN belongs to the configured protected instance. The procedure is as follows: