Routing

 View Only
last person joined: yesterday 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Dynamic-Tunnel LSP w/fast-reroute

     
    Posted 09-21-2023 15:09

    Hello,

    I'm using a template for dynamic-tunnel (here is the template):

    label-switched-path lsp-template-ad-frr {
        template;
        adaptive;
        fast-reroute;
    }

    And here is the use of that template under routing-options:

    dynamic-tunnels {
        from-ROUTER-A {
            rsvp-te rsvp-dt {
                label-switched-path-template {
                    lsp-template-ad-frr;
                }
                destination-networks {
                    10.0.0.0/24;
                }
            }
        }
    }

    This works well, and the LSP's that are built have fast-reroute and do switchover quickly in the event of an outage.

    However, they never revert to their previous state on their own.  These are very simple, and just follow the IGP's best path.  If I clear the LSP, even with the optimize flag like this:

    clear mpls lsp optimize name 10.0.0.5:dt-rsvp-from-ROUTER-A

    It will immediately switch back to the best and expected path.  If I look at the tunnel, it shows a SmartOptimizeTimer of 180:

    *Primary                    State: Up
        Priorities: 7 0
        SmartOptimizeTimer: 180

    So, to my question. Is there a way to enable this template/LSP(s) to automatically optimize themselves, or revert to the best path without manual intervention? In the past I've manually built primary and backup paths, and used the standby knob - and that has reverted as expected aftera period of time.

    Any input is appreciated.

    Thanks!

    (p.s. I've got this same config on Junos ACX's, MX's, as well as EVO devices, and they all act the same)



  • 2.  RE: Dynamic-Tunnel LSP w/fast-reroute

    Posted 09-21-2023 20:12

    I believe you need to add the protection revert timer to the configuration as outlined here.

    https://www.juniper.net/documentation/us/en/software/junos/mpls/topics/ref/statement/protection-revert-time-edit-protocols-mpls-interface-static.html



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------