28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solution<br />

Fast reroute reduces packet loss when a link in the LSP fails. You configure fast<br />

reroute on the ingress router only:<br />

[edit protocols mpls]<br />

aviva@R1# set label-switched-path R1-to-R5 to 10.0.0.5<br />

aviva@R1# set label-switched-path R1-to-R5 fast-reroute<br />

<strong>Discussion</strong><br />

A basic function of IP routing protocols is to reroute traffic changes that occur in the<br />

network, such as a link or router node failure. Because the IP routing protocols are<br />

distributed across the network devices and because all routers must have a consistent<br />

view of the network, it can take some time for the routes to converge after a<br />

topology change. In a large network, convergence times can be on the order of several<br />

seconds, which may be unacceptable for your service-level agreements (SLAs).<br />

MPLS fast reroute provides a solution to the convergence problem by rerouting traffic<br />

around a point of failure in an LSP. Fast reroute sets up a protection LSP around a<br />

point of failure in advance to protect an individual link between two routers. Each<br />

router in the LSP sets up protection LSPs when the ingress router signals the initial<br />

setup of the LSP. When a link along an LSP fails, the router upstream of the failure<br />

switches to the protection LSP as soon as it detects the failure. No route calculations<br />

need to be done because the protection LSP is signaled and set up in advance, and<br />

the routing protocols don’t need to converge, so the move to a path that circumvents<br />

the point of failure can happen quickly. Following a failure, the ingress router<br />

is notified and can compute a new path at its leisure. Traffic is protected in the<br />

meantime.<br />

Fast reroute does not eliminate packet loss; it merely minimizes it. When a path fails<br />

and MPLS switches to the protection LSP, the MPLS routers still need some small<br />

amount of time to detect the failure and switch to the alternate path. The ingress<br />

router can then recalculate the LSP if necessary. During the switchover, the LSP will<br />

continue forwarding traffic while a new LSP is established.<br />

You configure fast reroute only on the ingress router. You do not need to configure it<br />

on the LSP’s transit and egress routers. As this recipe shows, the configuration is<br />

straightforward: just include the fast-reroute statement in the LSP’s configuration.<br />

Once the LPS is running fast reroute, the ingress router signals all downstream routers<br />

that fast reroute has been requested and indicate which link requires protection,<br />

and each downstream router does its best to set up detours for the LSP. If a downstream<br />

router does not support fast reroute, it ignores the request to set up detours<br />

but continues to support the LSP. A router that does not support fast reroute will<br />

cause some of the detours to fail but otherwise has no impact on the LSP.<br />

Using Fast Reroute to Reduce Packet Loss Following a Link Failure | 529<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!