



Label distributing protocol (LDP) is a protocol which is automatically generates and exchanges labels between MPLS routers. Each MPLS router will locally generate labels for its prefixes and then it will advertise the label values to its neighbors. …





Label distributing protocol (LDP) Work with IGP inside the core. It’s a standard protocol; LDP is based on Cisco’s proprietary Tag Distribution Protocol (TDP). LDP establish a neighbor relationship using UDP (port 646) hellos multicast packets are sent 224.0.0.2. Each router has a unique router ID called LSR ID.





How Label distributing protocol (LDP works?

IGP built routing table (fib using CEF) LSR assign a local label for each route learned LSR share labels with neighbor using LDP LSR built their own LFIB Forward packets based on label lookup







































lets see the configuration:-





Topology:









Goal:

configure the topology as per the diagram.

assign IP address to their receptive interfaces

configure EIGRP 100 and advertise directly connected interfaces

configure MPLS on all the routers with LDP protocol.

configure LDP router ID has to be loop-back address 0

configure labels.

check the connectivity with trace route between router 1 and router 4.



