摘要 |
<p>The present invention discloses a Fast ReRoute (FRR) method in a layer-2 virtual private network, which includes: respectively establishing a main and a standby FRR table for a pre-established main link and standby link, and adding the FRR index information of the established main FRR table and standby FRR table to a Media Access Control (MAC) address forwarding table; searching for the corresponding FRR table according to the FRR index information in the MAC address forwarding table, and performing inner layer label switching and/or outer layer label switching according to the label switching type marked by the mark bit in the standby FRR table. The present invention also discloses a fast reroute apparatus in a layer-2 virtual private network. A switching module in the apparatus is used for performing FRR switching to the standby link when it is detected that the main link is down. During the FRR switching due to a link failure in a Virtual Private Local area network Service (VPLS), the present invention considers not only inner layer label switching, but also outer layer label switching, thus ensuring the seamless transmission of the traffic, and improving the network stability.</p> |