Use slow IGP startup in LDP-only MPLS environments

If you use LDP-based MPLS as the only means of transporting data across your network core (for example, in MPLS VPN networks or in BGP-free ISP core), a router startup might disrupt your Label Switched Paths (remember: they are always based on IGP best paths) leading to temporary disruption in service.For example, when the router P1 in the network shown in the following diagram is powered on and its IGP advertises its presence, the IGP-derived path from PE1 to PE2 will go over P1. If the LDP on P1 has not exchanged labels with PE1 and PE2, there will be no LSP on the shortest path between PE1 and PE2, resulting in a loss of traffic until the labels are exchanged and LSP is built.The proper router startup timing in this environment is thus:

  • Start IGP and find neighbors.
  • Receive IGP updates and build the network topology.
  • Start LDP and exchange labels for all prefixes in the network.
  • Advertise router's presence in IGP.
You can configure slow OSPF startup with the max-metric router-lsa on-startup seconds router configuration command. The corresponding IS-IS command is set-overload-bit on-startup seconds.

The initial IGP delay has to be configured manually (you cannot use wait-for-bgp option in this scenario) and should take in account the time needed to:
  • Find IGP neighbors (at least the hello timer);
  • Receive LSA updates;
  • Run SPF (at least the spf delay).
  • Find LDP neighbors (at least the discovery hello interval).
  • Exchange labels once the SPF run has completed.

Unless you're under very rigid time constraints, 30 seconds seems like a reasonable delay in most environments.

7 comments:

  1. If your platform supports it, I would check out LDP IGP Sync
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1829/products_feature_guide09186a00802d95dd.html

    ReplyDelete
  2. You're right, but LDP IGP sync might generate several changes in the router's type-1 LSAs or LSP (as LDP is enabled across each interface); more so if you lower the LSA throttle timers.

    ReplyDelete
  3. LDP FRR feature will eliminate the problem entirely.

    ReplyDelete
  4. Which IOS release contains LDP FRR?

    ReplyDelete
  5. I am sorry, it is not in IOS yet.
    However some vendors such as Huawei had implemented it already.

    ReplyDelete
  6. Now you have no runtime errors and startup problem!! A great website where we can download registry cleaner which will fix all your registry errors.
    Startup Manager
    Slow Startup
    Windows Startup
    XP Startup

    ReplyDelete
  7. Download registry cleaner software with best quality which will fix invalid files and entries from your windows registry. This Registry Cleaner Free Download facility will definitly help you to speed up your PC.

    ReplyDelete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.