Showing posts with label LDP. Show all posts
Showing posts with label LDP. Show all posts

What is the MPLS Label distributing protocol (LDP)? How does LDP work?

Internetworks


Label distributing protocol (LDP) is a protocol that is automatically generated 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 establishes 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 does Label distributing protocol (LDP works?
  1. IGP built routing table (fib using CEF)
  2. LSR assigns a local label for each route learned
  3. LSR share labels with a neighbor using LDP
  4. LSR built their own LFIB
  5. Forward packets based on label lookup