Scope of the MPLS labels are within a router or within a interface right ?. So which means the peering neighbor LSR router can generate label values of its own.So say with below mpls topology.

|LSR1|-------------lsp------------ |LSR2|

Can both LSR1 and LSR2 (Routers) generate same label say 10 to the same prefix say or even if the can generate the same label 10 to two different prefixes and distribute among themself ??? Is this legal as per RFC ?


Yes both LSR[12] could advertise given FEC, say with label 10 to each other.

Then if IGP says to LSR1 egress interface is towards LSR2, it'll impose (or swap to) label 10 and send towards LSR2. LSR2 then will find egress interface being something else than towards LSR1 and swap label to what ever that direction has advertised, might be still label 10, or might be something else, does not really matter at all.

Labels are completely local today and some RFCs dictate that is how it should be. Personally I'd like IGP labels to be global for simplicity. Because MPLS LSR does not know how labels look from anyone else's POV, we need hacks like tLDP (targeted LDP) when implementing rLFA (remote loop free alternative). We need the tLDP to learn bindings of remote node.

With regards label scope, label space today is chassis-wide in every device I've ever seen, but standards fully allow per-interface label spaces.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.