摘要 |
Disclosed are a method and apparatus for rapidly restoring a spanning tree backup port. The method comprises: perceiving that a device in a spanning tree has a port which is faulty; and judging whether a backup port which takes the faulty port as a main port exists in the device, and when it is determined that there exists a backup port which takes the faulty port as the main port by means of judgment, changing the backup port to the main port. Also disclosed at the same time is an apparatus for rapidly restoring a spanning tree backup port. The application of the technical solution of the present invention can significantly shorten the restoration time of a backup port, and greatly improve the link restoration performance. |