Related Documentation
Understanding MPLS Inter-AS Link Protection
Link protection is essential in an MPLS network to ensure traffic restoration in case of an interface failure. The ingress router chooses an alternate link through another interface to send traffic to its destination.
In Figure 1, autonomous system border routers (ASBRs) run external BGP (EBGP) to ASBRs in another autonomous system (AS) to exchange labels for /32 IPv4 routes. Inside the ASs, internal BGP (IBGP) propagates the routes to provider edge (PE) devices. If the link from Device ASBR3 to Device ASBR1 goes down, until Device ASBR3 reinstalls the new next hop, all traffic going toward AS 64510 from AS 64511 through the ASBR3-ASBR1 link is dropped. A fast traffic restoration can be achieved if Device ASBR3 preprograms a backup path either through Device ASBR4 or through a direct path to Device ASBR2 if one exists (not shown in the diagram). This assumes that Device ASBR3 learns a loop-free MPLS path for routes that need to protected either through IBGP or EBGP.
This solution does not handle a failure on Device ASBR3 for traffic going toward AS 64511 from AS 64510 through the ASBR3-ASBR1 link. This solution is limited to downstream inter-AS link-node protection with labeled BGP. This solution does not support service restoration between provider (P) and ASBR routers when there is an ASBR failure. For example, this solution does not handle a failure on the P3-ASBR3 link.
This supported functionality is similar to BGP multipath, except only one next hop is used for active forwarding, and a second path is in protected mode.
Figure 1: MPLS Inter-AS Link-Node Protection Conceptual Topology

In an MPLS inter-AS environment, link protection can be enabled when labeled-unicast is used to send traffic between ASs. Hence, MPLS inter-AS link protection is configured on the link between two routers in different ASs.
To configure link protection on an interface, use the protection statement at the [edit protocols bgp group group-name family inet labeled-unicast] hierarchy level:
![]() | Note: MPLS inter-AS link protection is supported only with labeled-unicast and external peers in a master routing instance. |
The link on which protection is configured is known as the protection path. A protection path is selected only after the best path selection and is not selected in the following cases:
- The best path is a non-BGP path.
- Multiple next hops are active, as in BGP multipath.
