Routing

last person joined: 2 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.  MPLS Label assignment

    Posted 08-07-2013 02:59

    Hi guys,

    I am new to MPLS and i am wondering if someone can help me understand label assignment in MPLS.

    I understand that label can be assigned manually (Static LSP) and automatically (LDP signalling protocol). During manual LSP setup we define label value manually on each LSR.

    Ingress LSR - Push (Label value)
    Transit - Incoming Label & outgoing label (Pop/Swap label value)

    Question
    =======

    Does LSR assign every LSP a different label or same label? I think it should be different Label....but if it uses different label for every LSP then how does a transit router know which LSR its coming from? or Transit router doesnt care where does it come from since LSPs are uni-directional??

    I hope this question make sense 🙂

    Thanks



  • 2.  RE: MPLS Label assignment
    Best Answer

    Posted 08-07-2013 03:14
    Hello,

    There are at least 3 types of point-to-point LSPs:

    (1) Dynamic, FECs signaled from downstream with LDP or labeled-unicast BGP.
    ---> In this case, transit LSR label assignment can differ e.g. based on whether you have deaggregate configured under LDP or not.

    (2) Dynamic, signaled with RSVP from Ingress PE, hierarchy [edit protocols mpls label-switched-path]
    ---> LSR assigns a different label for each LSP.

    (3) Static, no protocol, configured with [edit protocols static-label-switched-path]
    ---> The administrator should configured different labels for each LSR.

    HTH
    Ato


  • 3.  RE: MPLS Label assignment

    Posted 08-07-2013 03:58
    (3) Static, no protocol, configured with [edit protocols static-label-switched-path]

    ---> The administrator should configured different labels for each LSR.
    I meant for each LSP


  • 4.  RE: MPLS Label assignment

    Posted 08-07-2013 04:13

    Great thanks.

     

    Now this pops another question if thats ok?

     

     


    Since transit routers make the forwarding decision based on incoming label. How do LSRs swap the incoming label with outgoing considering they dont do destination address lookup and every LSP has different label?

     

     



  • 5.  RE: MPLS Label assignment

    Posted 08-07-2013 04:22
    The transit LSR has a forwarding table with:

    Incoming label, then action

    Where action can be: pop,swap,swap+push, etc...

    In dynamic LSPs, the action is determined by the announcement done by the next LSR in the path.


  • 6.  RE: MPLS Label assignment

    Posted 08-07-2013 05:14

    Yup i understand they have the information in mpls.0 table.

     

    But how do they get this information i.e. swap 100065 with 100069? How do LSRs get this information.

     



  • 7.  RE: MPLS Label assignment

    Posted 08-07-2013 05:21
    Imagine: Ingress PE - LSR1 - LSR2 - Egress PE

    LSR2 announces label X for a LSP/FEC, LSR1 announces label Y for the same LSP/FEC

    So LSR1 installs a Y -> swap X entry


  • 8.  RE: MPLS Label assignment

    Posted 08-07-2013 05:58

    Sorry not been difficult but just to double check how will two different LSRs anounce same FEC? 

     

    Does it mean LSP have route foe FEC/prefixes via IGP/bgp?

     



  • 9.  RE: MPLS Label assignment



  • 10.  RE: MPLS Label assignment

    Posted 08-08-2013 04:05

    Will do...thanks