I'm working on MPBGP for a PhD and I need to well implement its routing scheme in a simulation environement.
To do that, I have a question which stay unsolved...
When a PE (say PE Src) learns a MPBGP route from another PE (say PE Dst), it check the community attributes of this route first. If this check pass, then the route is insert into the VRF of PE Src. During this insertion, 2 labels are insert with the route : the bottom label which identifie the sub network one can reach from PE Dst and the top label which identifie the LSP to reach PE Dst from PE Src.
What happen if several LSPs (with different FEC) exist between PE Src and PE Dst ?
More precisely, how PE Src knows which LSP will be used to reach PE Dst ?
And what happen if no LSP exists ?
I hope someone may answer this question. I read manu documents about MPBGP and I read RFC too but I didn't find anything about this issue.
Have a good day.