Professional Documents
Culture Documents
com
www.ipcisco.com
ChallengeIPNetworking
IPCisco
Bookcase
About
NetworkTools
TechnologyForecasts
ContactUs
EnablingMPLSOnCiscoRouters
Category:AlcatelLucentCertification,CCIE,Cisco,CiscoCertification,JNCIE,LDP,MPLS,Network
Certifications,NRSII
Author:gokhankosem,on30Apr124Comments
EnablingMPLSOnCiscoRouters
In this article, we will study how to enable CEF, how to enable MPLS and how to configure label
protocolldponCiscorouters.
During this survey we will check the configuretion with various basic show command that will be
usefulduringMPLSconfigurations.
After successfully configuration of the core part, we will discuss hiding the core routes from the
http://ipcisco.com/enablingmplsonciscorouters/ 1/15
2/17/2017 EnablingMPLSOnCiscoRouters|www.ipcisco.com
customerwithdisablingttlpropagate.
Thetopologythatwewillstudyonisbelow.
BeforeMPLSconfiguration,thisconfigurationmustbefullyconnectedandyoucanpingfromoneend
throughtheother.YouwillalreadyfindtheGNS3configurationfileattheendofthisarticle)
Letsstarttheconfiguration:
PE1Router
PE1#configureterminal
PE1(config)#ipcef
PE1(config)#mplslabelprotocolldp
PE1(config)#interfacefastethernet0/0
PE1(configif)#mplsip
PE1(configif)#end
PE2Router
PE2#configureterminal
PE2(config)#ipcef
http://ipcisco.com/enablingmplsonciscorouters/ 2/15
2/17/2017 EnablingMPLSOnCiscoRouters|www.ipcisco.com
PE2(config)# mplslabelprotocolldp
PE2(config)#interfacefastethernet0/0
PE2(configif)#mplsip
PE2(configif)#end
P1Router
P1#configureterminal
P1(config)#ipcef
P1(config)#mplslabelprotocolldp
P1(config)#interfacefastethernet0/0
P1(configif)#mplsip
P1(configif)#exit
P1(config)#interfacefastethernet1/0
P1(configif)#mplsip
P1(configif)#end
P2Router
P2# configureterminal
P2(config)#ipcef
P2(config)#mplslabelprotocolldp
P2(config)#interfacefastethernet0/0
P2(configif)#mplsip
P2(configif)#exit
P2(config)#interfacefastethernet1/0
P2(configif)#mplsip
P2(configif)#end
OnrouterP1,use showmplsinterfacetoverifythattheinterfacesareconfiguredtouseLDP.
http://ipcisco.com/enablingmplsonciscorouters/ 3/15
2/17/2017 EnablingMPLSOnCiscoRouters|www.ipcisco.com
AfterthatchecktheLDPneighborshipwiththecommand showmplsldpdiscovery.
Lastly use the showmplsldpbindings command to confirm that LDP has provided a label for
subnetswithintheMPLSprovidercore.
After the verify section we will discuss an important point.This is hiding the core routers from the
customer side. As you know providers core must be hidden from customers. Customers must not
reachtothecorerouters.Fromthecustomerperspective,theconnectionfromtheonePEtoanother,
mustbelikeoneconnection.
http://ipcisco.com/enablingmplsonciscorouters/ 4/15
2/17/2017 EnablingMPLSOnCiscoRouters|www.ipcisco.com
Withoutanyconfiguration,customersidecanseethecorerouterswhentheystartatraceroutefrom
onePEtoanotherPE.Likebelow,thetraceroutecommandshowthecoreroutersashops.
Topreventcorerouterfromcustomerside,wemustdisablettlpropagationonrouters.Todothison
allrouterswewilluse, notagswitchingippropagatettlcommand.
PE1(config)# notagswitchingippropagatettl
PE2(config)# notagswitchingippropagatettl
P1(config)# notagswitchingippropagatettl
P2(config)# notagswitchingippropagatettl
Aftertheconfigurationofthis,corerouterswontseenbytraceroutetothecustomers.
Lastly,onPE1router,youcanusethecommandtoseethetagsonthisrouter.
YoucandownloadtheGNS3configurationofthislabbelow.
Download EnablingMPLSLab.
http://ipcisco.com/enablingmplsonciscorouters/ 5/15