Chapter15NetworkLayerDetection
IntheEchoReplypacket,thereturncodeis6,whichindicatesthatthenodeis
anintermediatenode.Accordingtothereturncode,LSR1knowsthatthepacket
didnotreachthedestination.
6.LSR1:AfterreceivingtheEchoReplypacketfromLSR3,LSR1knowsthe
addressandlabelinformationonLSR3.Accordingtothereturncode,LSR1
knowsthatthepacketdidnotreachthedestination.LSR1sendsanMPLSEcho
RequestpackettoLSR2again.ThedestinationistheFEConLSR4.
IntheEchoRequestpacket,theTTLvalueintheMPLSheaderis3,the
destinationaddressintheIPheaderis127.0.0.1,andboththesourceport
numberanddestinationportnumberintheUDPheaderare3503.
7.LSR2:AfterreceivingtheEchoRequestpacketwhoseTTLvalueis3,LSR2
searchesforlabelinformationandthenforwardsthepackettoLSR3.TheTTL
valuedecrementsbyone.
8.LSR3:AfterreceivingtheEchoRequestpacketwhoseTTLvalueis2,LSR2
searchesforlabelinformationandthenforwardsthepackettoLSR4.TheTTL
valuedecrementsbyone.
9.LSR4:AfterreceivingtherequestpacketpacketwhoseTTLvalueis1,LSR4
processesthepacket.Itīændsthatitselfisthedestination.Therefore,LSR4
respondstoLSR1withanMPLSEchoReplypacket.
IntheEchoReplypacket,thereturncodeis3,whichindicatesthatthenodeis
thedestinationnode.
Aftertheprocedure,LSR1knowstheaddressandlabelinformationonLSRsalong
theLSP .
ConīgurationCommands
ToconīægureLSPtraceontheZXR10ZSRV2,runthefollowingcommands:
CommandFunction
ZXR10#tracemplsipv4<ip-address><mask-length>[output-interf
ace<interface-name>][destination<start-ipv4-address>[<end-ip
v4-address>][<increment>]][ttl<ttl>|timeout<timeout>|source
{<source-ipv4-address>|<source-ipv6-address>}|[{ddmap|dsmap}]]
EnablestheIPv4LDPLSPtrace
function.
ZXR10#tracemplstraffic-engte_tunnel<id>[{master|slave}][ttl
<ttl>|timeout<timeout>|source{<source-ipv4-address>|<source-ip
v6-address>}|[{ddmap|dsmap}]]
EnablestheRSVPLSPtrace
function.
ZXR10#tracemplspseudowire[multisegment]<pw-name>[ttl<ttl>|
timeout<timeout>|source{<source-ipv4-address>|<source-ipv6-ad
dress>}|[{ddmap|dsmap}]]
EnablesthePWE3LSPtrace
function.
master:speciīæesthatthemasterLSPsendsLSPpingpackets.
slave:speciīæesthattheslaveLSPsendsLSPpingpackets.
15-23
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential