Patent ID: 8081563

Claim:
A non-transitory computer readable storage medium with logic for execution and when executed operable to: detect a failure of a first pseudowire stitching point network device in a multi-segment pseudowire containing a head-end network device, the first pseudowire stitching point network device, a second pseudowire stitching point network device, and a tail-end network device, wherein the multi-segment pseudowire is configured to emulate attributes of a plurality of telecommunications services on a packet switched network (PSN), wherein the head-end network device is a first terminal provider edge and the tail-end network device is a second terminal provider edge; signal an indication of the failure of the first pseudowire stitching point network device to the head-end network device; choose a pre-computed pseudowire backup path that includes a third pseudowire stitching point network device and does not include the failed first pseudowire stitching point network device, wherein the indication of the failed first pseudowire stitching point network device is used to choose the pre-computed pseudowire backup path; and transmit layer 2 reachability information of the third pseudowire stitching point network device to the tail-end network device across the pre-computed pseudowire backup path before reverse traffic from the tail-end network device to the head-end network device is switched to the pre-computed pseudowire backup path.