Patent ID: 9407538
Filing Date: 2016-08-02
CPC Classification: H04L

Claim Text:
1. A ring network failure switching method, wherein the ring network comprises a local node, a first node, and a link that connects the local node to the first node; the switching method comprises: receiving, by the local node, first data traffic, wherein the first data traffic comprises a destination media access control (MAC) address; querying, by the local node, a forwarding entry stored in the local node according to the destination MAC address, to obtain a ring network identifier corresponding to the destination MAC address, wherein the ring network identifier is uniquely corresponding to the first node connected to the destination MAC address; and obtain path state information of the link corresponding to the ring network identifier; and transmitting, by the local node, the first data traffic to the first node in a direction that is opposite to that of the link when the path state information of the link indicates that the link is in a failure state; wherein before the receiving the first data traffic, the method further comprises: receiving, by the local node, second data traffic transmitted by the first node, wherein the second data traffic comprises a source MAC address and the ring network identifier, the ring network identifier is corresponding to the source MAC address, the source MAC address is the same as the destination MAC address in the first data traffic, the ring network identifier is set by the first node, and recording, by the local node, correspondence between the source MAC address and the ring network identifier in the forwarding entry.