Patent attributes
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 including: 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. Thus, not only the problem of inter-board transparent transmission can be avoided, which is introduced when the NHLFE of the outgoing-interface board being extended to realize fast rerouting, but also the fast rerouting after the interface board being plugged out can be realized.