Legal claims defining the scope of protection. Each claim is shown in both the original legal language and a plain English translation.
1. A fast recovery method for a Spanning Tree Protocol (STP) based backup port, the method comprising: detecting that a failure occurs on a port of an STP-based device; and determining whether there is a backup port taking a failed port as a master port, and when it is determined that there is such a backup port, changing said backup port to a master port; the method further comprising: after said backup port is changed to the master port, setting a state of the master port to a forwarding state; wherein before said backup port is changed to the master port, a state of said backup port is a blocked state; and when it is detected that a failure occurs on a port of an STP-based device, recording a port Identity (ID) of a failed port; wherein the determining whether there is a backup port taking a failed port as a master port comprises: determining whether in a port priority vector there is a port having a specified port field, i.e., port ID that is the same as the ID of the failed port, and when it is determined that there is such a port, determining said port as the backup port taking the failed port as a master port.
A method for quickly recovering from port failures in Spanning Tree Protocol (STP) networks involves detecting a failed port on an STP device. Upon detection, the system checks a port priority vector to find a backup port configured to use the failed port as its master. If such a backup port exists, it's immediately promoted to a master port and transitioned to a forwarding state, enabling network traffic to resume quickly. Initially, the backup port is in a blocked state to prevent loops. The method also records the failed port's ID for identification within the port priority vector.
2. The fast recovery method for an STP-based backup port according to claim 1 , further comprising: determining whether there is one or multiple backup ports taking the failed port as a master port; and when it is determined that there are multiple such backup ports, selecting a backup port having a highest priority as a backup port of the failed port.
The STP fast recovery method determines if multiple backup ports are associated with the failed master port identified earlier. If multiple backup ports exist, the system selects the backup port with the highest priority to become the new master port. This ensures that the most suitable backup path is activated, optimizing network performance and minimizing disruption. The selected port then transitions to a forwarding state, enabling traffic flow through the chosen backup link. This selection prevents race conditions and ensures a deterministic failover.
3. A fast recovery device for an STP-based backup port, the device comprising: a detection unit configured to, when detecting that a failure occurs on a port of an STP-based device, trigger a determination unit; the determination unit configured to determine whether there is a backup port taking a failed port as a master port, and when it is determined that there is such a backup port, trigger a processing unit; and the processing unit configured to change said backup port to a master port; wherein the processing unit is further configured to, after said backup port is changed to the master port, set a state of the master port to a forwarding state; and wherein before said backup port is changed to the master port, a state of said backup port is a blocked state; wherein the detection unit is further configured to, when detecting that a failure occurs on a port of an STP-based device, record a port Identity (ID) of a failed port; and the determination unit is configured to: determine whether in a port priority vector there is a port having a specified port field, i.e., port ID that is the same as the ID of the failed port, and when it is determined that there is such a port, determine said port as the backup port taking the failed port as a master port and trigger the processing unit.
A device designed for fast recovery of STP-based backup ports contains a detection unit, a determination unit, and a processing unit. The detection unit monitors ports, and if it detects a failure, it notifies the determination unit. The determination unit then searches for a backup port configured to use the failed port as its master. If found, the determination unit triggers the processing unit to promote the backup port to master. The processing unit switches the backup port to a forwarding state. Before promotion, the backup port remains in a blocked state. The detection unit logs the failed port's ID. The determination unit identifies the backup by searching for a matching port ID within a port priority vector.
4. The fast recovery device for an STP-based backup port according to claim 3 , wherein the determination unit is further configured to determine whether there is one or multiple backup ports taking the failed port as a master port, and when it is determined that there are multiple such backup ports, select a backup port having a highest priority as a backup port of the failed port and trigger the processing unit.
The STP fast recovery device can identify when multiple backup ports are associated with a failed master port. If multiple backup ports exist, the determination unit selects the backup port with the highest priority. The processing unit then activates this selected, highest-priority backup port, transitioning it to the master port role and enabling the forwarding state. This ensures the device selects the most appropriate backup path when a failure occurs, optimizing network recovery performance by choosing the best available alternative. The selection process ensures a consistent failover.
Unknown
October 31, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.