Abstract:At present, MPLS L2VPN technology has been the most popular VPN solution in the field of VPN application. For enhancing the reliability of data transmission of L2VPN based on VPWS technology, this paper proposes a scheme of VPWS redundant backup. This solution adopts the state machine design method, which states and events are mapped to varieties of processing functions through function pointers and two-dimensional arrays realizes. When the network link goes wrong, the solution can switch the state of standby PW of VPWS redundant backup quickly to accelerate the network convergence, which ensures the stability of L2VPN service.