Patent ID: 7633860

Claim:
A method for fast rerouting, wherein, in a router, a fast rerouting flag and bypass path information is set for forward information corresponding to a label switch path of an incoming interface board, the method comprising: receiving a packet, by an incoming interface of the router, determining whether the fast rerouting flag, set for the forward information corresponding to the packet, is valid; if the fast rerouting flag is invalid, forwarding the packet according to the forward information corresponding to the packet; if the fast rerouting flag is valid, forwarding the packet according to the bypass path information set for the forward information which the packet corresponds to; wherein the fast rerouting flag and the bypass information being set for the forward information corresponding to the label switch path includes, if a forward path has a failure, setting the fast rerouting flag as valid; otherwise, setting the fast rerouting flag as invalid; and wherein the bypass path information is TOKEN information of a bypass path, the TOKEN information of the bypass path being configured to pointing to a next-hop label forward entry information of the bypass path.