SlideShare une entreprise Scribd logo
1  sur  32
Label Distribution Protocol (LDP) is a protocol
in which routers capable of Multiprotocol Label
Switching (MPLS) exchange label mapping
information.

   MPLS is a mechanism in high-performance
    telecommunications networks that directs
    data from one network node to the next
    based on short path labels rather than long
    network addresses, avoiding complex
    lookups in a routing table.
MPLS
Label Distribution Protocol (LDP) is a key
protocol in the MPLS (Multi Protocol Label
Switching) architecture.

   In the MPLS network, 2 Label Switching
    Routers (LSR) must agree on the meaning
    of the labels used to forward traffic
    between and through them.
LSR Routers
 The Label Distribution Protocol (LDP) is a
 protocol defined by the IETF (RFC 5036)
 for the purpose of distributing labels in an
 MPLS environment.
   LDP defines a set of procedures and
    messages by which one LSR (Label Switched
    Router) informs another of the label bindings
    it has made.

   The LSR uses this protocol to establish label
    switched paths through a network by
    mapping network layer routing information
    directly to data-link layer switched paths.
LSR Routers
   Two LSRs (Label Switched Routers) which
    use LDP to exchange label mapping
    information are known as LDP peers and
    they have an LDP session between them.

   In a single session, each peer is able to
    learn about the others label mappings, in
    other words, the protocol is bi-
    directional.
1.   Version -- LDP version number. The present
     number is 1.

2.   PDU Length -- The total length of the PDU
     excluding the version and the PDU length field.

3.   LDP identifier -- This field uniquely identifies
     the label space of the sending LSR for which
     this PDU applies. The first 4 octets encode the
     IP address assigned to the LSR. The last 2
     indicate a label space within the LSR.
All LDP messages have the following format:
1.   U -- The U bit is an unknown message bit.

2.   Message Type -- The type of message. The following message
     types exist: Notification, Hello, Initialization, Keep Alive,
     Address, Address Withdraw, Label Request, Label Withdraw,
     Label Release, and Unknown Message name.

3.   Message Length -- The length in octets of the message ID,
     mandatory parameters and optional parameters.

4.   Message ID -- 32-bit value used to identify the message.

5.   Parameters -- The parameters contain the TLVs. There are
     both mandatory and optional parameters. Some messages
     have no mandatory parameters, and some have no optional
     parameters.
1.   U -- The U bit is an unknown TLV bit.

2.   F -- Forward unknown TLV bit.

3.   Type -- Encodes how the Value field is to be
     interpreted.

4.   Length -- Specifies the length of the Value field in
     octets.

5.   Value -- Octet string of Length octets that encodes
     information to be interpreted as specified by the
     Type field.
The following message types are defined in this version
of LDP:

Message Name              Section Title
Notification              Notification Message
Hello                     Hello Message
Initialization            Initialization Message
KeepAlive                 KeepAlive Message
Address                   Address Message
Address Withdraw          Address Withdraw Message
Label Mapping             Label Mapping Message
Label Request             Label Request Message
Label Abort Request       Label Abort Request Message
Label Withdraw            Label Withdraw Message
Label Release             Label Release Message
LDP provides a standard methodology for
hop-by-hop, or dynamic label, distribution in
an MPLS network by assigning labels to routes
that have been chosen by the underlying
Interior Gateway Protocol (IGP) routing
protocols.

 Theresulting labeled paths, called Label
 Switch Paths (LSPs), forward label traffic
 across an MPLS backbone to particular
 destinations.
When you enable MPLS LDP, the LSRs send out
messages to try to find other LSRs with which
they can create LDP sessions.

The following sections explain the differences
between sessions.
1. Directly Connected MPLS LDP Sessions
2. Nondirectly Connected MPLS LDP Sessions
If an LSR is one hop from its neighbor, it is
directly connected to its neighbor. The LSR
sends out LDP link Hello messages as User
Datagram Protocol (UDP) packets to all the
routers on the subnet (multicast).

A neighboring LSR may respond to the link
Hello message, allowing the two routers to
establish an LDP session. This is called Basic
Discovery.
 Toinitiate an LDP session between routers, the
 routers determine which router will take the
 active role and which router will take the
 passive role. The router that takes the active
 role establishes the LDP TCP connection
 session and initiates the negotiation of the LDP
 session parameters.

 Todetermine the roles, the two routers
 compare their Transport Addresses. The router
 with the higher IP address takes the active role
 and establishes the session.
After the LDP TCP connection session is
established, the LSRs negotiate the session
parameters, including the method of label
distribution to be used. Two methods are available:

1.   Downstream Unsolicited: An LSR advertises
     label mappings to peers without being asked
     to.
2.   Downstream on Demand: An LSR advertises
     label mappings to a peer only when the peer
     asks for them.
If the LSR is more than one hop from its
neighbor, it is nondirectly connected to its
neighbor. For these nondirectly connected
neighbors, the LSR sends out a targeted Hello
message as a UDP packet, but as a unicast
message specifically addressed to that LSR.

The nondirectly connected LSR responds to the
Hello message and the two routers begin to
establish an LDP session. This is called Extended
Discovery.
The exchange of targeted Hello messages between two
nondirectly connected neighbors can occur in several
ways, including the following:

1.   Router 1 sends targeted Hello messages carrying a
     response request to Router 2. Router 2 sends targeted
     Hello messages in response if its configuration
     permits. In this situation, Router 1 is considered to be
     active and Router 2 is considered to be passive.

2.   Router 1 and Router 2 both send targeted Hello
     messages to each other. Both routers are considered
     to be active. Both, one, or neither router can also be
     passive, if they have been configured to respond to
     requests for targeted Hello messages from each other.
An LDP label binding is an association
between a destination prefix and a label.
There are four categories of LDP messages:

1.   Discovery messages, used to announce and
     maintain the presence of an LSR in a network.
2.   Session messages, used to establish, maintain,
     and terminate sessions between LDP peers.
3.   Advertisement messages, used to create,
     change, and delete label mappings for FECs.
4.   Notification messages, used to provide
     advisory information and to signal error
     information.
LDP errors and other events of interest are
signaled to an LDP peer by Notification
messages.
There are two kinds of LDP Notification
messages:

1.   Error Notifications
2.   Advisory Notifications
Error Notifications, used to signal fatal
errors. If an LSR receives an Error
Notification from a peer for an LDP session,
it terminates the LDP session by closing the
TCP transport connection for the session
and discarding all label mappings learned
via the session.
Advisory Notifications, used to pass on LSR
information about the LDP session or the
status of some previous message received
from the peer.
 LDPuses TCP as a reliable transport for
 sessions.

 When multiple LDP sessions are
 required between two LSRs, there is one
 TCP session for each LDP session.
Label Distribution Protocol

Contenu connexe

Tendances

MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)Netwax Lab
 
Deploy MPLS Traffic Engineering
Deploy MPLS Traffic EngineeringDeploy MPLS Traffic Engineering
Deploy MPLS Traffic EngineeringAPNIC
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introductionPhilip Agu Bah
 
Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switchingSumita Das
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44Jisc
 
MPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMulugetaTsehay1
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocolAmeer Agel
 
Segment Routing
Segment RoutingSegment Routing
Segment RoutingAPNIC
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Febrian ‎
 
An intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolAn intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolIftach Ian Amit
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A TutorialAPNIC
 

Tendances (20)

MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
 
Deploy MPLS Traffic Engineering
Deploy MPLS Traffic EngineeringDeploy MPLS Traffic Engineering
Deploy MPLS Traffic Engineering
 
Mpls technology
Mpls technologyMpls technology
Mpls technology
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
 
Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switching
 
Mpls
MplsMpls
Mpls
 
Mpls
MplsMpls
Mpls
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
Ethernet VPN (EVPN) EVerything Provider Needs
Ethernet VPN (EVPN) EVerything Provider NeedsEthernet VPN (EVPN) EVerything Provider Needs
Ethernet VPN (EVPN) EVerything Provider Needs
 
Implementing cisco mpls
Implementing cisco mplsImplementing cisco mpls
Implementing cisco mpls
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
 
MPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdf
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
Segment Routing
Segment RoutingSegment Routing
Segment Routing
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010
 
An intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolAn intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocol
 
SEGMENT Routing
SEGMENT RoutingSEGMENT Routing
SEGMENT Routing
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A Tutorial
 

En vedette

LDP Presentation
LDP PresentationLDP Presentation
LDP Presentationhayelikahn
 
Introduction to LDP in Apache Marmotta
Introduction to LDP in Apache MarmottaIntroduction to LDP in Apache Marmotta
Introduction to LDP in Apache MarmottaSergio Fernández
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
Agile the Squads Way
Agile the Squads WayAgile the Squads Way
Agile the Squads WayDaan Assen
 
Kanban - Classes of Service
Kanban - Classes of ServiceKanban - Classes of Service
Kanban - Classes of ServiceAvarteq
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SAMeh Zaghloul
 

En vedette (7)

LDP Presentation
LDP PresentationLDP Presentation
LDP Presentation
 
Introduction to LDP in Apache Marmotta
Introduction to LDP in Apache MarmottaIntroduction to LDP in Apache Marmotta
Introduction to LDP in Apache Marmotta
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
23100136 mpls
23100136 mpls23100136 mpls
23100136 mpls
 
Agile the Squads Way
Agile the Squads WayAgile the Squads Way
Agile the Squads Way
 
Kanban - Classes of Service
Kanban - Classes of ServiceKanban - Classes of Service
Kanban - Classes of Service
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
 

Similaire à Label Distribution Protocol

Similaire à Label Distribution Protocol (20)

What is LDP || Frequently asked Questions and Answers on MPLS LDP
What is LDP || Frequently asked Questions and Answers on MPLS LDPWhat is LDP || Frequently asked Questions and Answers on MPLS LDP
What is LDP || Frequently asked Questions and Answers on MPLS LDP
 
Label Distribution Protocols for MPLS FEC
Label Distribution Protocols for MPLS FECLabel Distribution Protocols for MPLS FEC
Label Distribution Protocols for MPLS FEC
 
yun-MPLS.ppt
yun-MPLS.pptyun-MPLS.ppt
yun-MPLS.ppt
 
MPLS-extra.ppt
MPLS-extra.pptMPLS-extra.ppt
MPLS-extra.ppt
 
OSPF.pptx
OSPF.pptxOSPF.pptx
OSPF.pptx
 
Mpls basic
Mpls basicMpls basic
Mpls basic
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
MPLS
MPLSMPLS
MPLS
 
MPLS Tutorial
MPLS TutorialMPLS Tutorial
MPLS Tutorial
 
MPLS Tutorial2
MPLS Tutorial2MPLS Tutorial2
MPLS Tutorial2
 
QOS of MPLS
QOS of MPLSQOS of MPLS
QOS of MPLS
 
J010136172
J010136172J010136172
J010136172
 
Ospf
OspfOspf
Ospf
 
four
fourfour
four
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
Mpls
MplsMpls
Mpls
 
Ospf routing protocol
Ospf routing protocolOspf routing protocol
Ospf routing protocol
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
 
Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network Presentation
 
Mpls Traffic Engineering ppt
Mpls Traffic Engineering pptMpls Traffic Engineering ppt
Mpls Traffic Engineering ppt
 

Plus de Kashif Latif

Linear Programming Application
Linear Programming ApplicationLinear Programming Application
Linear Programming ApplicationKashif Latif
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of VarianceKashif Latif
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo ProcessorKashif Latif
 
SRX3600 Cluster & IDP
SRX3600 Cluster & IDPSRX3600 Cluster & IDP
SRX3600 Cluster & IDPKashif Latif
 
Routing Polices And Firewall Filter
Routing Polices And Firewall FilterRouting Polices And Firewall Filter
Routing Polices And Firewall FilterKashif Latif
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path FirstKashif Latif
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control ProtocolKashif Latif
 
HA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsHA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsKashif Latif
 
Ex8216 Core Switch
Ex8216 Core SwitchEx8216 Core Switch
Ex8216 Core SwitchKashif Latif
 
Difference Between XFP & SFP
Difference Between XFP & SFPDifference Between XFP & SFP
Difference Between XFP & SFPKashif Latif
 
Chassis Cluster Configuration
Chassis Cluster ConfigurationChassis Cluster Configuration
Chassis Cluster ConfigurationKashif Latif
 

Plus de Kashif Latif (16)

Linear Programming Application
Linear Programming ApplicationLinear Programming Application
Linear Programming Application
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Cyber Space
Cyber SpaceCyber Space
Cyber Space
 
DHCP
DHCPDHCP
DHCP
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo Processor
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
SRX3600 Cluster & IDP
SRX3600 Cluster & IDPSRX3600 Cluster & IDP
SRX3600 Cluster & IDP
 
Routing Polices And Firewall Filter
Routing Polices And Firewall FilterRouting Polices And Firewall Filter
Routing Polices And Firewall Filter
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
MX960 Router
MX960 RouterMX960 Router
MX960 Router
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control Protocol
 
HA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsHA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy Groups
 
Ex8216 Core Switch
Ex8216 Core SwitchEx8216 Core Switch
Ex8216 Core Switch
 
Difference Between XFP & SFP
Difference Between XFP & SFPDifference Between XFP & SFP
Difference Between XFP & SFP
 
Chassis Cluster Configuration
Chassis Cluster ConfigurationChassis Cluster Configuration
Chassis Cluster Configuration
 

Dernier

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Dernier (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Label Distribution Protocol

  • 1.
  • 2. Label Distribution Protocol (LDP) is a protocol in which routers capable of Multiprotocol Label Switching (MPLS) exchange label mapping information.  MPLS is a mechanism in high-performance telecommunications networks that directs data from one network node to the next based on short path labels rather than long network addresses, avoiding complex lookups in a routing table.
  • 4. Label Distribution Protocol (LDP) is a key protocol in the MPLS (Multi Protocol Label Switching) architecture.  In the MPLS network, 2 Label Switching Routers (LSR) must agree on the meaning of the labels used to forward traffic between and through them.
  • 6.  The Label Distribution Protocol (LDP) is a protocol defined by the IETF (RFC 5036) for the purpose of distributing labels in an MPLS environment.
  • 7. LDP defines a set of procedures and messages by which one LSR (Label Switched Router) informs another of the label bindings it has made.  The LSR uses this protocol to establish label switched paths through a network by mapping network layer routing information directly to data-link layer switched paths.
  • 9. Two LSRs (Label Switched Routers) which use LDP to exchange label mapping information are known as LDP peers and they have an LDP session between them.  In a single session, each peer is able to learn about the others label mappings, in other words, the protocol is bi- directional.
  • 10.
  • 11. 1. Version -- LDP version number. The present number is 1. 2. PDU Length -- The total length of the PDU excluding the version and the PDU length field. 3. LDP identifier -- This field uniquely identifies the label space of the sending LSR for which this PDU applies. The first 4 octets encode the IP address assigned to the LSR. The last 2 indicate a label space within the LSR.
  • 12. All LDP messages have the following format:
  • 13. 1. U -- The U bit is an unknown message bit. 2. Message Type -- The type of message. The following message types exist: Notification, Hello, Initialization, Keep Alive, Address, Address Withdraw, Label Request, Label Withdraw, Label Release, and Unknown Message name. 3. Message Length -- The length in octets of the message ID, mandatory parameters and optional parameters. 4. Message ID -- 32-bit value used to identify the message. 5. Parameters -- The parameters contain the TLVs. There are both mandatory and optional parameters. Some messages have no mandatory parameters, and some have no optional parameters.
  • 14.
  • 15. 1. U -- The U bit is an unknown TLV bit. 2. F -- Forward unknown TLV bit. 3. Type -- Encodes how the Value field is to be interpreted. 4. Length -- Specifies the length of the Value field in octets. 5. Value -- Octet string of Length octets that encodes information to be interpreted as specified by the Type field.
  • 16. The following message types are defined in this version of LDP: Message Name Section Title Notification Notification Message Hello Hello Message Initialization Initialization Message KeepAlive KeepAlive Message Address Address Message Address Withdraw Address Withdraw Message Label Mapping Label Mapping Message Label Request Label Request Message Label Abort Request Label Abort Request Message Label Withdraw Label Withdraw Message Label Release Label Release Message
  • 17. LDP provides a standard methodology for hop-by-hop, or dynamic label, distribution in an MPLS network by assigning labels to routes that have been chosen by the underlying Interior Gateway Protocol (IGP) routing protocols.  Theresulting labeled paths, called Label Switch Paths (LSPs), forward label traffic across an MPLS backbone to particular destinations.
  • 18. When you enable MPLS LDP, the LSRs send out messages to try to find other LSRs with which they can create LDP sessions. The following sections explain the differences between sessions. 1. Directly Connected MPLS LDP Sessions 2. Nondirectly Connected MPLS LDP Sessions
  • 19. If an LSR is one hop from its neighbor, it is directly connected to its neighbor. The LSR sends out LDP link Hello messages as User Datagram Protocol (UDP) packets to all the routers on the subnet (multicast). A neighboring LSR may respond to the link Hello message, allowing the two routers to establish an LDP session. This is called Basic Discovery.
  • 20.
  • 21.  Toinitiate an LDP session between routers, the routers determine which router will take the active role and which router will take the passive role. The router that takes the active role establishes the LDP TCP connection session and initiates the negotiation of the LDP session parameters.  Todetermine the roles, the two routers compare their Transport Addresses. The router with the higher IP address takes the active role and establishes the session.
  • 22.
  • 23. After the LDP TCP connection session is established, the LSRs negotiate the session parameters, including the method of label distribution to be used. Two methods are available: 1. Downstream Unsolicited: An LSR advertises label mappings to peers without being asked to. 2. Downstream on Demand: An LSR advertises label mappings to a peer only when the peer asks for them.
  • 24. If the LSR is more than one hop from its neighbor, it is nondirectly connected to its neighbor. For these nondirectly connected neighbors, the LSR sends out a targeted Hello message as a UDP packet, but as a unicast message specifically addressed to that LSR. The nondirectly connected LSR responds to the Hello message and the two routers begin to establish an LDP session. This is called Extended Discovery.
  • 25. The exchange of targeted Hello messages between two nondirectly connected neighbors can occur in several ways, including the following: 1. Router 1 sends targeted Hello messages carrying a response request to Router 2. Router 2 sends targeted Hello messages in response if its configuration permits. In this situation, Router 1 is considered to be active and Router 2 is considered to be passive. 2. Router 1 and Router 2 both send targeted Hello messages to each other. Both routers are considered to be active. Both, one, or neither router can also be passive, if they have been configured to respond to requests for targeted Hello messages from each other.
  • 26. An LDP label binding is an association between a destination prefix and a label.
  • 27. There are four categories of LDP messages: 1. Discovery messages, used to announce and maintain the presence of an LSR in a network. 2. Session messages, used to establish, maintain, and terminate sessions between LDP peers. 3. Advertisement messages, used to create, change, and delete label mappings for FECs. 4. Notification messages, used to provide advisory information and to signal error information.
  • 28. LDP errors and other events of interest are signaled to an LDP peer by Notification messages. There are two kinds of LDP Notification messages: 1. Error Notifications 2. Advisory Notifications
  • 29. Error Notifications, used to signal fatal errors. If an LSR receives an Error Notification from a peer for an LDP session, it terminates the LDP session by closing the TCP transport connection for the session and discarding all label mappings learned via the session.
  • 30. Advisory Notifications, used to pass on LSR information about the LDP session or the status of some previous message received from the peer.
  • 31.  LDPuses TCP as a reliable transport for sessions.  When multiple LDP sessions are required between two LSRs, there is one TCP session for each LDP session.