A fast reroute (FRR) technique is implemented at the edge of a computer
network. In accordance with the technique, if an edge device detects a
node or link failure that prevents it from communicating with a
neighboring routing domain, the edge device reroutes at least some data
packets addressed to that domain to a backup edge device which, in turn,
forwards the packets to the neighboring domain. The rerouted packets are
designated as being "protected" (i.e., rerouted) data packets before they
are forwarded to the backup edge device. To that end, the edge device
incorporates an identifier into the rerouted data packets to indicate
that the packets are being FRR rerouted. The identifier may be a
predetermined value stored at a known location in the rerouted
packets'encapsulation headers, such as in their MPLS or IP headers. Upon
receiving a data packet containing the identifier, the backup edge device
is not permitted to reroute the packet a second time.