The erps ring command adds a port to an ERPS ring and specifies a role for the port.
The undo erps ring command deletes a port from an ERPS ring and cancels the port role.
By default, a port is not added to an ERPS ring, and no port role is specified.
Parameter | Description | Value |
---|---|---|
ring-id |
Specifies the ID of an ERPS ring. |
The value is an integer that ranges from 1 to 255. |
rpl { owner | neighbour } |
Specifies the port to be added to an ERPS ring as the RPL owner port or RPL neighbor port. |
- |
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view
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 so that RAPS PDUs can be correctly forwarded. Each device in an ERPS ring is a node, and a maximum of two Layer 2 ports on each node can be added to the same ERPS ring.
An RPL owner port is responsible for blocking traffic over the Ring Protection Link (RPL) to prevent loops. An ERPS ring has only one RPL owner port.
When the node on which the RPL owner port resides receives an RAPS PDU indicating a link or node fault in an ERPS ring, the node unblocks the RPL owner port. Then the RPL owner port can send and receive traffic to ensure nonstop traffic forwarding.
The link where the RPL owner port resides is the RPL.
An RPL neighbor port is directly connected to an RPL owner port.
Both the RPL owner port and RPL neighbor ports are blocked in normal situations to prevent loops.
If an ERPS ring fails, both the RPL owner and neighbor ports are unblocked.
The RPL neighbor port helps reduce the number of FDB entry updates on the device where the RPL neighbor port resides.
Common ports are ring ports other than the RPL owner and neighbor ports.
A common port monitors the status of the directly connected ERPS link and sends RAPS PDUs to notify the other ports of its link status changes.
Prerequisites
An ERPS ring has been created using the erps ring command.
The control VLAN and ERP instance have been configured using the control-vlan and protected-instance commands respectively in the ERPS ring view.
The port is not a Layer 3 port. If the port is a Layer 3 port, run the portswitch command to switch the port to the Layer 2 mode.
Precautions
Before running the undo erps ring command to delete a port from an ERPS ring, run the shutdown (interface view) command to shut down the port. The port can be enabled again according to the actual situation.
If ports added to an ERPS ring are all ordinary ports, any port on the device with the largest MAC address will be blocked.
If an RPL neighbor port is configured for a non-virtual channel of a sub-ring, network convergence may fail to meet requirements because SF packets are discarded on the port in the case of a link fault.