You are on page 1of 5

7/5/2016 MPLSLabelDistributionProtocol,LDPPart1|www.ipcisco.

com

www.ipcisco.com
ChallengeIPNetworking
IPCisco
About
NetworkTools
TechnologyForecasts
ContactUs

MPLSLabelDistributionProtocol,LDPPart1
Category:AlcatelLucent,LDP,MPLS
Author:gokhankosem,on12Jul150Comments

MPLSLabelDistributionProtocol,LDP

LDP(LabelDistributionProtocol)isoneofthetwolabelexchangeprotocolsofMPLS.TheotherisRSVP(ResearchReservationProtocol).Andthereisalso
onemore,Ciscospecificprotocol,TDP(TagDistributionprotocol).Inthisarticle,wewilltalkabbouttheLDP.Andtheexampleswillbealsofor AlcatelLucent
ServiceRouters(7750,7450etc..).

Thereare3typesLDPs.Theseare:

LinkLDP
TargetedLDP(TLDP)
ContraintbasedRoutingLDP(CRLDP)

TransportTunnelandServiceTunnel,LDPandTLDP

LinkLDPisusedtoestablishMPLSTransportTunnels.But,TLDPisusedforMPLSServiceTunnels.Letsexplainitmoredetailly.

ThinkaboutMPLSVPNs.ForMPLSweneedtoestablishanMPLSTransportTunnelthroughthecorenetwork(Prouters)betweenPErouters.Thisisestablished
viaLDP.InsidethisMPLSTransportTunnel,wecarryspecificcustomerstraffic.InAlcatelLucentterminalogy,thisiscalleddifferentcustomerservices.So,this
different customers traffic is carried in different MPLS Service Tunnels in Transport Tunnels.And these MPLS Service Tunnels are established via TLDP,
betweenPErouters,forVPLS andVPWSservices(L2VPNServices).ForVPRN (L3VPN Service),MPBGP is used instead ofTLDP. For this lesson also
checkTunnelStructurearticle.

ContraintbasedRoutingLDP(CRLDP)istheextensionofLDPthatwillprovidetrafficengineeringmechanismtoLDP.AsyouknowpureLDPhasnotraffic
engineeringmechanism.

LinkLDP

ForLinkLDP,allthedirectlyconnectedneighboursneedtoestablishLDPsessioneachother.Thismustbeafullmeshtopology.FirstlyLDPAdjacencymustbe
done,thentheLSPSessionmustbeestablished.Bydoingthis,thelabeldistributioncanbedoneforalltherouters.

TocreateandmaintainLDPthereare4processes.Theseare:

1)PeerDiscovery,
2)SessionEstablishment,
3)LabelManagement(Distributelabelmanagement)
4)Notification(AlertingLDPpeeringroutersabouterrors)

http://ipcisco.com/mplslabeldistributionprotocolldppart1/ 1/5
7/5/2016 MPLSLabelDistributionProtocol,LDPPart1|www.ipcisco.com

LDPSessionEstablishmentandLDPMessages

PeerDiscovery

ThePeerDiscoveryisthefirstprocessanditisdoneviaHelloMessages.WecancallthisprocessalsoLDPAdjacency.Hellomessagesaresenteachotherwith
thepeerparameters.

HelloMessagesuseUDPport646.Sessionestablishment,LabelManagementandNotificationuseTCPport646.Hellomessagedsendevery5secondsbydefault.
Thiscanbechanged.EventheconfiguredHellotimevaluesaredifferent,LDPneighbourdiscoveryisdone.ThelowerHellovalueisused.
AftertheHellosaresenteachother,theLDPadjacencyisestablished.

LDPSessionEstablishment

AfterLSPadjacency,Initmessagesaresenteachother.ThismessagesuseTCP646port.Inthismessages,theSessionParametersaresent.ThenKeepalive
MessagesaresenteachotherandtheLSPSessionisestablished.KeepaliveMessagesarestillsentaftertheLDPSessionEstablishment.

Thereare4categoriesofLDPmessages:

Discoverymessages(periodicallyannouncedandmaintaintheprecenceofLDProuter)
Sessionmessages(establish,maintainandterminatesessions)
Advertisementmessages(create,changeanddeletelabelmappingsforFECs)
Notificationmessages(sentforerrors)

For LDP, firstly a routing protocol configuration must be done between the peers or a static configuration must be used. Basically the points must be reach
eachother.Thisisgenerallydonebyaroutingprotocol(IGP).

LDPrelieson routingprotocol(IGP).Thismeansthatitisdependanttoroutingprotocol(IGP).Itsendsthelabelaccordingtochooseofroutingprotocol.Ifa
problemoccursbecauseofroutingprotocol,thenetworkneedstobewaitfortheconvergenceofIGP.LDPiseasytoconfigurebuIGPdepandancyistheweakness
ofthisprotocol.

MPLSLabelDistributionProtocol,LDPPart1
MPLSLabelDistributionProtocol,LDPPart2
MPLSLabelDistributionProtocol,LDPPart3(ConfigurationonALU)
MPLSLabelDistributionProtocol,LDPPart4(ECMP)
MPLSLabelDistributionProtocol,LDPPart5(ExportandImportPolicy,PrefixAggregation)
MPLSLabelDistributionProtocol,LDPPart6(TLDP)
MPLSLabelDistributionProtocol,LDPPart7(CRLDP)

FormoreinformationaboutLDP,TLDPandCRLDP,checktherelatedfollowingRFCs

RFC5036:LDPSpecification
RFC3815:DefinitionsofManagedObjectsfortheMPLS,LDP
RFC3478:GracefulRestartMechanismforLabelDistributionProtocol
RFC5443:LDPIGPSynchronization
RFC7307:LDPExtensionsforMultiTopology
RFC7361:LDPExtensionsforOptimizedMACAddressWithdrawalinaHVPLS
RFC3212:ConstraintBasedLSPSetupusingLDP
RFC3213:ApplicabilityStatementforCRLDP
RFC3214:LSPModificationUsingCRLDP
Business Network Security

Is Your Network Secure


Enough? Scan & Patch with
GFI LanGuard!
g.com/Network_Security

http://ipcisco.com/mplslabeldistributionprotocolldppart1/ 2/5
7/5/2016 MPLSLabelDistributionProtocol,LDPPart1|www.ipcisco.com

AbouttheAuthor
GokhanKosemisatelecommunationandnetworkengineer.Hisambitionto
IP networks and endtoend system installation made him to prepare this
website. By sharing his experiences about various networking protocols
beside different system installation experiences and Cisco, Juniper, Alcatel
Lucentdevicesconfigurations,heisaimedtobehelpfulforhiscolleguesin
allovertheworld.HeiscurrentlylivesinIstanbul,Turkey.

LeaveaReply

Name(required)

EMail(required)

Url

SubmitComment

Search
entertexthere..

FTP Server [Download]

Reliability and security.


Download Now!
www.cerberusftp.com

RecentArticles
NeighbourDiscoveryProtocolsPart6(LLDPCiscoConfiguration)
NeighbourDiscoveryProtocolsPart5(LLDPMED)
NeighbourDiscoveryProtocolsPart4(CDPConfigurationwithPacketTracer)
NeighbourDiscoveryProtocolsPart3(CDP)
NeighbourDiscoveryProtocolsPart2(LLDP)
NeighbourDiscoveryProtocolsPart1
RIPConfigurationWithPacketTracer
RoutingWithRIP(RoutingInformationProtocol)
RedundancyProtocolsPart5(GLBP)
RedundancyProtocolsPart4(VRRP)

http://ipcisco.com/mplslabeldistributionprotocolldppart1/ 3/5
7/5/2016 MPLSLabelDistributionProtocol,LDPPart1|www.ipcisco.com

Categories
2.5GGPRS(1)
2GGSM(1)
4GLTE(2)
AlcatelLucent(28)
AlcatelLucent(3)
AlcatelLucent(6)
AlcatelLucentCertification(14)
AllIP(2)
Basic(19)
BGP(6)
CCIE(12)
CCIESP(3)
CCNA(12)
CCNP(17)
CCNPSP(3)
CDP(3)
Cisco(52)
CiscoCertification(24)
DHCP(1)
ECMP(1)
EDGE(1)
EtherChannel(1)
Ethernet(1)
FastReroute(9)
Forecasts(1)
FrameRelay(3)
General(1)
GLBP(2)
HSRP(3)
IES(4)
IES(3)
IES(3)
IoT(2)
IPTV(2)
IPv4(1)
IPv6(9)
JNCIA(6)
JNCIE(8)
JNCIP(13)
Juniper(20)
JuniperCertification(14)
LACP(4)
LDP(8)
LinkAggregation(4)
LLDP(3)
M2M(2)
Mobile(1)
MPLS(24)
NAT(5)
NeighbourDiscovery(5)
NetworkCertifications(18)
NetworkManagement(5)
NetworkMonitoring(1)
NRSI(5)
NRSII(9)
OSPF(12)
PacketTracer(12)
Packets(1)
PAgP(1)
Redundancy(5)
RIP(2)
Routing(26)
RSVPTE(2)
SAM(1)
SecondaryPaths(9)
Services(12)
Services(3)
Services(6)
SNMP(5)
SRA(10)
StaticRouting(5)
STP(1)
switchsecurity(2)
Switching(15)
TCP/IP(5)
TechnologyForecasts(1)
Troubleshooting(1)
VLAN(8)
VPLS(6)
VPLS(3)
VPLS(3)
VPRN(6)
VPRN(3)
VPRN(3)

http://ipcisco.com/mplslabeldistributionprotocolldppart1/ 4/5
7/5/2016 MPLSLabelDistributionProtocol,LDPPart1|www.ipcisco.com
VPWS(7)
VPWS(3)
VPWS(6)
VRRP(2)
VTP(2)
Wireless(5)

CopyProtectedbyChetansWPCopyprotect.

http://ipcisco.com/mplslabeldistributionprotocolldppart1/ 5/5

You might also like