The RLDP (Rapid Link Detection Protocol) is an Ethernet link fault detection protocol. Generally, the Ethernet link detection mechanism only uses the physical connection status to detect link connectivity through automatic negotiation at the physical layer. However, this detection mechanism has certain limitations. In some cases, it cannot provide users with reliable link detection information. For example, the optical fiber receiving line on the optical fiber port is connected incorrectly. Due to the existence of optical fiber converter, the corresponding port of the device is physically linkup, but the actual layer 2 link cannot communicate. Another example is that an intermediate network is set up between two Ethernet devices. Due to the existence of network transmission relay devices, if these relay devices fail, the same problem will be caused, Using RLDP, you can easily and quickly detect the link faults of Ethernet devices, including unidirectional link faults, bidirectional link faults, and loop link faults. If a fault is detected, RLDP will automatically close the relevant ports according to the user's configured fault handling method or notify the user to manually close them to avoid incorrect forwarding of traffic or prevent Ethernet layer 2 loops. 1.1 Basic Concepts 1.1.1 link one-way failure One-way link failure refers to the end of the optical fiber transmission link being disconnected or not connected, or one of the lines in the twisted pair being disconnected, or the intermediate device between two equipment having a one-way disconnect, which will cause traffic to be wrongly forwarded or the loop protection protocol (such as STP) to fail. 1.1.2 link bidirectional fault Link bidirectional fault refers to the situation where two optical fibers are broken, or two lines in the twisted pair are broken, or there is bidirectional interruption between two devices, which will result in traffic being incorrectly forwarded. 1.1.3 link loop failure The link loop fault refers to the fault caused by the incorrect connection of devices downstream to other devices, forming a loop, which will cause a broadcast storm. 1.1.4 Protocol messages The RLDP protocol defines the following three types of messages: Probe message (Prob): a Layer 2 multicast message for neighbor negotiation, unidirectional or bidirectional link detection, the default encapsulation format of the message is of SNAP type, and the encapsulation method is automatically changed to Ethernet II if the neighbor sends out a message in Ethernet II format. Echo message (Echo): Layer 2 unicast message in response to Prob message, used for unidirectional or bidirectional link detection, the default encapsulation format of the message is SNAP, and the encapsulation method is automatically changed to Ethernet II if the neighbor sends out a message in Ethernet II format. Loop: Layer 2 multicast message for downlink loop detection, this type of message will only be received by the sender, the encapsulation format of the message is SNAP encapsulation. 1.1.5 Probe Interval RLDP can configure the probing interval and the maximum number of probes. The probe interval determines the sending period of Prob and Loop messages, and the device responds to an Echo message immediately after receiving a Prob message. The Probe Interval and Maximum Probe Count determine the maximum probe time (Probe Interval × Maximum Probe Count + 1) for unidirectional or bidirectional link probing, and the unidirectional or bidirectional fault processing can be triggered if the neighbor's Prob message or Echo message cannot be received correctly within the maximum probe time. The timers involved are described in Table 1-1.
A port configured with unidirectional or bidirectional detection can learn from the peer device as a neighbor. One port can learn one neighbor. The neighbor can change. After the negotiation function is enabled, unidirectional or bidirectional detection is performed only after the port is negotiated with the neighbor. If the port successfully receives a Prob packet from the neighbor during the negotiation, the negotiation is considered successful. However, if the protocol is started only when the fault exists, the detection cannot be started because the neighbor cannot be learned. Therefore, you are advised to restore the link error state first. 1.1.7 Associated Action Table 1-2 lists the methods of associating and recovering an RLDP port after a fault occurs.
Table 1-2 1.1.8 Status of the RLDP portThe status of an RLDP port can be as follows: Normal: indicates the status of the port after the detection is enabled. Error: indicates the status of a link fault detected on a port. The fault can be caused by a unidirectional, bidirectional, or loop fault 1.1.9 Detection principle Generally, the Ethernet link detection mechanism only uses the physical connection status to detect link connectivity through automatic negotiation at the physical layer. However, this detection mechanism has certain limitations. In some cases, although the physical layer is connected and can work normally, the actual layer 2 link cannot communicate or is abnormal. RLDP uses detection packets, response packets, or loop packets to identify neighbor devices and detect link faults. Figure 1-3 shows the RLDP detection logic. Figure 1-3 Table 1-4 lists the four main states.
Table 1-4 1.1.10 Establishing an RLDP detection.The link detection modes of RLDP mainly include unidirectional link detection, bidirectional link detection, and downlink loop detection. 1.1.11 RLDP Unidirectional Link Detection After unidirectional link detection is enabled, the port periodically sends Prob packets, receives Echo packets from the neighbor, receives Prob packets from the neighbor, and responds Echo packets to the neighbor in time. Within the maximum detection time, if you can receive only the Prob packets of the neighbor but not the Echo packets of the neighbor or neither the Prob packets nor the Echo packets of the neighbor, the unidirectional fault processing is triggered and the detection stops. 1.1.12 RLDP Bidirectional Link Detection After bidirectional link detection is enabled, the port periodically sends Prob packets, receives Echo packets from the neighbor, receives Prob packets from the neighbor, and responds Echo packets to the neighbor in time. Within the maximum detection time, if neither Prob nor Echo packets are received from the neighbor, bidirectional fault processing is triggered and the detection stops. 1.1.13 Detecting the RLDP Link loop After the down-link Loop detection is enabled, the ports periodically send Loop packets. After receiving LOOP packets, if the sending port and the receiving port are routing ports or L3 AP member ports, and the sending port and the receiving port are the same, the loop fault is triggered. If the sending and receiving ports are switching ports or L2 AP member ports, the default vlans of the ports are the same, and the forwarding status of both ports is Forward, the loop fault is triggered. After the fault occurs, the fault is handled according to the corresponding troubleshooting method and the detection stops. |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd