There are 2 ways to distribute the lables:
METHOD 1. Piggy back the labels on the existing protocols.
METHOD 2. Running separate Protocols for Lable Distribution
Either I can use EIGRP or OSPF in First Method:
I read that EIGRP can be used with out changing the protocols becasue Eigrp does it. The implementation for distance vector routing protocols (such as EIGRP) is straightforward, because each router originates a prefix from its routing table. The router then just binds a label to that prefix.
But whereas OSPF, Each router originates link state updates that are then forwarded unchanged by all routers inside one area. The problem is that for
MPLS to work, each router needs to distribute a label for each IGP prefix even the routers that are not originators of that prefix I am in impression that OSPF orginate the routes based on the LSAs and EIGRP learns from neighbour router.
I am not able to understand contradiction.Can you give your valuable time to explain this
It is nice to hear from you again.
I believe that you have somewhat incorrect information regarding the MPLS label distribution process. As far as I know, no IGP protocol in fact distributes MPLS labels. You run the IGP to have your routing table contain reachable networks withing your topology. Afterwards, each router assigns labels to routes in its routing table and advertises them to its neighbors using Label Distribution Protocol. The labels themselves are not included in advertisements of any IGP, be it RIP, (E)IGRP, OSPF or IS-IS. The Method 1 as you have indicated it is not an option for IGP protocols. In a basic MPLS deployment, you run the LDP together with an IGP routing protocol - the IGP protocol itself does not propagate label bindings.
The only routing protocol that is currently able to carry labels along with the destination prefixes is the BGP.