Routing

 View Only
last person joined: 19 hours ago 

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.  Placing selected LDP routes from inet.3 into inet.0

    Posted 03-06-2020 03:57

    Hi All, I've been trying to place a particular LDP route from inet.3 into inet.0 and created the following rib-group (called "LDP") and import-policy [configured under the global routing-options context]:

     

    [edit] xxxx@xxxx# show routing-options rib-groups LDP

    import-rib [ inet.3 inet.0 ];

    import-policy LDP-loopback;

    }

     

    xxxx@xxxx# show policy-options policy-statement LDP-loopback

    term Allowed { 

                 from { 

                          protocol ldp;

                          route-filter x.x.x.x/32 exact;

                 } then accept;

    }

    term Reject {

                 then reject;

    }

     

    And then I configured the rib-group under the 'protocol ldp' context:

     

    [edit] xxxx@xxxx# show protocols ldp

    rib-group LDP;

     

    However; once this config is committed I find that ALL of the LDP routes from inet.3 are installed into inet.0 - i.e. the import-policy doesn't limit the import of routes from inet.3 into inet.0 to just the x.x.x.x/32 route that I configured in the import-policy ...

     

    So, what am I doing wrong here and/or not understanding properly!?

     

    TIA



  • 2.  RE: Placing selected LDP routes from inet.3 into inet.0

     
    Posted 03-06-2020 06:42
    Hello TIA,

    Could you please delete the rib-group LDP under ldp? this should be getting all LDP routes in inet.0.

    [edit] xxxx@xxxx# show protocols ldp
    rib-group LDP;
    Hope this helps.

    Regards,
    -r.

    If this solves your problem, please mark this post as "Accepted Solution."
    Kudos are always appreciated :).


  • 3.  RE: Placing selected LDP routes from inet.3 into inet.0

    Posted 03-06-2020 06:57
    Hi, But if I delete the rib-group from under the 'protocols ldp' context then NO ldp routes are placed into the inet.0 table ...! Like I said previously; what I'd like to do is place a particular LDP route (x.x.x.x/32) into the inet.0 table (by the use of the associated import-policy) ... it's the import-policy for the rib-group that doesn't seem to work ...


  • 4.  RE: Placing selected LDP routes from inet.3 into inet.0
    Best Answer

     
    Posted 03-06-2020 08:15

    This is a limitation. 

    import policy for rib group is not supported by LDP.

     



  • 5.  RE: Placing selected LDP routes from inet.3 into inet.0

    Posted 03-06-2020 08:18

    Aha - That would explain why the import-policy isn't working then! Smiley Happy Smiley Frustrated

     

    Thanks Mhu