Routing

last person joined: 3 days 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.  Label distribution ?

    Posted 11-07-2011 15:49


    Hi:
    I have a question about ldp. Here is the topology
    R1 connects to R2,
    R2 connects to R3,
    R3 connects to R1,
    all the links are fast ethernet.
    ospf is enabled on all three routers
    there is a ldp session between R1 and R2, and between R2 and R3.
    no ldp session between R1 and R3.

    a juniper network router, by default, advertises only its 32-bit loopback  address as a FEC.
    so here is the question
    Does R1 advertise R3's loopback address to R2
    Does R1 advertise R2's loopback address to R2
    why?

    Thanks!



  • 2.  RE: Label distribution ?
    Best Answer

    Posted 11-07-2011 17:52

    > Does R1 advertise R3's loopback address to R2

     

    No. R1 actually has no MPLS path to R3's loopback address - try to do "show route table inet.3" on R1, and R3's loopback won't be there.

    The label for R3's loopback advertised by R2 cannot be used, as you do have a shorter path to R3 (via the direct link), and LDP follows the IGP to evaluate feasible paths. This is why 'forgetting' family MPLS on an interface can cause huge problems even if there would be other alternative, non-best paths.


    > Does R1 advertise R2's loopback address to R2.

     

    No, but the output of "show LDP database" can be confusing.

     

    What is going to happen is that R2 will advertise to R1 a label of 3 (implicit null) for its own loopback. Then, R1 will pick a local label and advertise the loopback prefix back to R2, but that label will never be used as it goes exactly against the IGP.

    So if you do a "show LDP database" on R2, you will see an input entry for your loopback which is 3, and another entry with a label allocated by R1, which you will never use.

     

    Hope it helps..

     Saverio

     



  • 3.  RE: Label distribution ?

    Posted 11-08-2011 16:33

    Thanks alot.