ZXR10ZSRV2ConīægurationGuide(SystemManagement)
MaintenanceCommands
Thefollowingexampleshowstheoutputofthetracecommandusedinprivilegedmode.
Thetracecommandtracesthepathto168.1.10.100.
ZXR10#trace168.1.10.100
tracingtherouteto168.1.10.100
1168.1.10.1002ms3ms5ms
[finished]
Descriptionsofthecommandoutput:
CommandOutputDescription
1Thesequencenumberofarouteralongtheroutetothe
destination.
168.1.10.100TheIPaddressofarouteralongtheroute.ThelastIP
addressisthedestination.
2ms3ms5msThetimeofthreeeachroundtripfordetection.
ConīgurationExample
lConīægurationDescription
AsshowninFigure15-9,thetracecommandisrunonR1todetecttheroutetoR2.
Figure15-9IPTraceConīægurationExample
lConīægurationFlow
1.Conīægureinterfaceaddressesandroutes.
2.Runthetracecommandinprivilegedmode.
lConīægurationCommands
RunthefollowingcommandsonR1:
R1(config)#interfacegei-1/1
R1(config-if-gei-1/1)#noshutdown
R1(config-if-gei-1/1)#ipaddress100.0.0.15255.255.255.0
R1(config-if-gei-1/1)#exit
R1(config)#routerospf1
R1(config-ospf-1)#network100.0.0.00.0.0.255area0
R1(config-ospf-1)#end
lConīægurationVeriīæcation
TheexecutionresultofthetracecommandonR1isdisplayedasfollows:
R1#trace175.103.59.110
tracingtherouteto175.103.59.110overamaximumof30hops:
15-14
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential