The erps ring command adds a port to an ERPS ring and specifies a role for the port.
The undo erps ring command removes a port from an ERPS ring and the port role configuration.
By default, ports are not added to ERPS rings, and no port roles are specified.
Parameter | Description | Value |
---|---|---|
ring-id | Specifies the ID of an ERPS ring. |
The value is an integer ranging from 1 to 255. |
rpl | Specifies the port type to be added to an ERPS ring. |
- |
neighbour | Specifies the port to be added to an ERPS ring as the RPL neighbor port. |
- |
owner | Specifies the port to be added to an ERPS ring as the RPL owner port. |
- |
Usage Scenario
After an ERPS ring is created, run the erps ring command in the interface view to add Layer 2 ports to the ERPS ring to allow transmission of R-APS PDUs. Each device that is added to an ERPS ring is a node, and each node cannot have more than two ports being added to the ERPS ring.
ERPS defines three port roles: RPL owner port, RPL neighbor port (only in ERPSv2), and ordinary port. The link where the RPL owner port resides is the RPL.Prerequisites
The erps ring command has been run to create the specific ERPS ring.
Before adding a port to an ERPS ring, ensure that:Configuration Impact
If any port has been added to the ERPS ring, the control VLAN cannot be changed. If the configured control VLAN 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 control-vlan command to delete the control VLAN.
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.Precautions
Before removing a port from an ERPS ring or changing the port role, run the shutdown command to shut down the port. Then remove the port or change the port role and run the undo shutdown command to enable the port. If the port is left disabled, traffic will be interrupted.
If ports added to an ERPS ring are all ordinary ports, any port on the device with the largest MAC address will be blocked. A port cannot be added to an ERPS ring in any of the following conditions:<HUAWEI> system-view [~HUAWEI] erps ring 2 [*HUAWEI-erps-ring2] control-vlan 100 [*HUAWEI-erps-ring2] protected-instance all [*HUAWEI-erps-ring2] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] portswitch [*HUAWEI-GigabitEthernet0/1/1] stp disable [*HUAWEI-GigabitEthernet0/1/1] erps ring 2