7/26/2019 Copy_Paster Junos M and T
1/74
JunosFundamentals Series
Day One: Junos Monitoring and
Troubleshooting
By Jamie Panagos and Albert Statti
SPECIAL EDITION
Te s!e"ial edition o# Day One: Junos Monitoring
and Troubleshootingis meant #or easy "o!ying
and !asting o# te automation s"ri!ts and
"on$gurations% &'(s are used to blan) out mu"o# te "o!yrigted material* and +ate,er
remains is le#t #or you to $nd your !la"e in te
material%
By using tis s!e"ial edition* you agree to use te
material in tis do"ument at your o+n ris)%
Juni!er Net+or)s assumes no res!onsibility+atsoe,er #or any ina""ura"ies in tis
do"ument%
- ./00 by Juni!er Net+or)s* In"% All rigts reser,ed% Juni!er Net+or)s* te Juni!er Net+or)s logo*Junos* NetS"reen* and S"reenOS are registered trademar)s o# Juni!er Net+or)s* In"% in te 1nited Statesand oter "ountries% Junose is a trademar) o# Juni!er Net+or)s* In"% All oter trademar)s* ser,i"e mar)s*registered trademar)s* or registered ser,i"e mar)s are te !ro!erty o# teir res!e"ti,e o+ners%Juni!erNet+or)s assumes no res!onsibility #or any ina""ura"ies in tis do"ument% Juni!er Net+or)s reser,este rigt to "ange* modi#y* trans#er* or oter+ise re,ise tis !ubli"ation +itout noti"e% Produ"ts made
or sold by Juni!er Net+or)s or "om!onents tereo# migt be "o,ered by one or more o# te #ollo+ing!atents tat are o+ned by or li"ensed to Juni!er Net+or)s2 1%S% Patent Nos% 3*456*377* 3*7/3*5.3*3*7/7*44/* 8*07.*/30* 8*666*83/* 8*637*457* 8*4/8*60.* 8*4.7*5/8* 8*437*357* 8*476*645* 8*369*309*
7/26/2019 Copy_Paster Junos M and T
2/74
8*369*977* 8*33.*709* 8*385*7/.* 8*359*098* and 8*37/*593%
&''' ''' '''' '''''''''' ''' '''' ''''' '' ' ''''''':&'''''' 0;* ''' '''' '''' '' '' ''''''' ''% &'' ''''' ''
''''' ''' ''''''''' '' '''' '''''''2 '''''Te $' does not "ause oter !roblems%
>Te $' sur,i,es a reboot%
>Te $' is +ell "ommuni"ated%
>Te $' is o!erationally understandable%> And* te $' is re!la"ed +it a long
7/26/2019 Copy_Paster Junos M and T
3/74
Figure.
7/26/2019 Copy_Paster Junos M and T
4/74
PAP state2 Closed CoS ueues 2 9 su!!orted* 4 ma'imum usable ueues Last Ha!!ed 2 .//7
7/26/2019 Copy_Paster Junos M and T
5/74
'''''''% &'' '''''' ''' '''''* ''' '''' ''''''''' '''''''' ''% &'' ''''''' ''''' '' 0//* '' ' ''''''' '' 3/''''' '''' ''' ''''' ''''''' '''' '''' &&& '''' ''''''''''''' '''' ''' '''' ''''' ''''''' '''' ''' '''''''''''''''* ''''' '''''' ''' ''''''' ''' ''''''' ''''' A"ti,e de#e"ts2 LOL* PLL* LOF* LOS* SEF* AIS
7/26/2019 Copy_Paster Junos M and T
36/74
PTE +en errors are dete"ted in te B6 byte%
BitErrorate:BE;
&'' ''''' '''' '''''' ''' '''''''' '''' ''' '''''' ''&&&
7/26/2019 Copy_Paster Junos M and T
37/74
''''''''' '''' ''''' ''' ''''''' ''' '''' ''''''''' ''''' '''''''%
PaseLo")Loo!:PLL;
&'' &&& ''''' '''''' '''' ''' &&& '''''' '''' '' '' '
'''''' ''''''* ''' ''''''''' ' '''''''' '''''''' ''''''''' '''''' '''''''% &'' ''''' '' ''' ''''''' '''''''''''''''' '' ''' '''' '' '''''' ''''' '' ''' ''''''% &'''''''''2
&' ''' &./ ''' &4/ &''''''' ''''''' '''' ''' &&49 Con$gure "lo")ing to e'ternal% I# te alarm disa!!ears*te board migt not a,e lo")ed to te internal "lo") usedto deri,e te outgoing "lo")%
> Con$gure "lo")ing to internal and ma)e sure tat aloo!ba") $ber is !lugged in% I# te PLL alarm !ersists* it is
most li)ely a ard+are !roblem% o+e,er* you may not beable to determine i# te dire"tion is on te inbound oroutbound side o# te board%
7a+er ! =onitoring and Troubleshooting
&'' '''' ''''' '' '' ''' &&& '''''* &'''' .* ''''''' ''''''''''''''' '' ''''''' '''' '''''' ''''''' ''''''''''''''' ''''' '' ''' '''' ''''''' '''''''% &''''''' ''&'''' . ''''''''' ''' &''''''' :'''* '' '''''''' '' ''''&'''' 0 ''' &'''' .;* '''''
7/26/2019 Copy_Paster Junos M and T
38/74
Pysi"al inter#a"e2 soing: Internal4 6O8ET *ode4 6peed: O;4 Loo!ba")2 None* FCS2 08* Payload s"rambler2 Enabled De,i"e Hags 2 Present unning
Inter#a"e Hags2 Point
7/26/2019 Copy_Paster Junos M and T
39/74
&'' &&&& ''' &&& ''''''''' ''''' '''' &&& '''''''' :'''''
7/26/2019 Copy_Paster Junos M and T
40/74
!sdun)el
7/26/2019 Copy_Paster Junos M and T
41/74
'''''''2
!sdun)el
7/26/2019 Copy_Paster Junos M and T
42/74
'''''''''' &'''' 6 '''''''''; '''''' '' '' '' &'''''''''' '' ''' '''''' '' '''' ''' ''''''''' ''''''''' ''' '''' '''''''''' '''''' '''' ''' ''''''' ''''' '' &''''''%
&''' ''' ''''''''' ''' ''''' '' '''' '''''* ''' '''''''''
'''' ''' ''''''''' :'''='' ''''' ''''''''''* '''''^;2A!r 0. 082062.8 so
7/26/2019 Copy_Paster Junos M and T
43/74
"ommit "om!leteE'iting "on$guration mode
&'' ''' '''' '''''''''' '' ''' ''' Gile out!ut #rom so+ inter#a"e e'tensi,e!ro,ides asna!sot te monitor inter#a"e"ommand !ro,ides
in#ormation in real time* u!dating its dis!lay o# aninter#a"e=s most im!ortant statisti"s* +arnings* errors* andattributes%
&'' ''''''''' '' '' ''''''' '' '''' ''' ''''''' '''''''''' ''''''' '' ' &&&& ''''''''2
dun)el
7/26/2019 Copy_Paster Junos M and T
44/74
o INET NCP is not O!ened o LCP state is not O!enedNe'tW=n=* uitW== or ESC* Free@eW=#=* Ta+W=t=* ClearW="=* Inter#a"eW=i=
E6T 2A5;TI;E Ensure tat Layer 0 settings su" as FCS* !ayload Logging "on$gurations asso"iated +it "ommonly used!roto"ols to ensure tat te NS systems are re"ei,ingte a!!ro!riate logs%
> Logs and SNP tra!s and some o# te im!ortant* !roto"olrelated SNP ob_e"ts%
> 1se#ul o!erational mode "ommands #or "ommonlyde!loyed IP !roto"ols* in"luding IP* ISTe routing !roto"ol !ro"ess :PD;* +i"* among otertings* is res!onsible #or logging and SNP tra!s #orroute !roto"ol
7/26/2019 Copy_Paster Junos M and T
45/74
and tra!s are automati" and some reuire "on$guration% Fore'am!le* BP +ill not log neigbor state "anges +itout"on$guring te log
7/26/2019 Copy_Paster Junos M and T
46/74
IP,. Bad oute Entries / / /IP,. 1!dates Ignored / / /Autenti"ation Failures / / /IP euests e"ei,ed / / /IP euests Ignored / / /
&' ''' ''' '''* &&& '' ''''''''' &&&'. '''''' ''''''''*''''' '' ' '''' ''''% &'' '''' '' ''' '''''' ''''''' '''''''''''' ''''' '' &'''' '' ''''''' &&& '''' '''''''''''' ''' ''''''' '''''''''''% &'' ''''' '''' ''''''''''' &&& '' '''''' ''''''' ''''''''''' '' ''' '''''''''' '' '''' '''''% &'' '''' '''''''* ''' '''''' '' '''''''' '''' '' '''' &&&&& '''' '' ''''''''''' '''''''''''''''''' :''''' ''' &&&'. &'''''' &'''''''''' ''' 0 '''''''''''''''''''' ''''' '' ''' '''''' '' '''';%
&'' '''' ''''' '''''''' '''''''''' ''' ''''''' '''' ''''''''' '' ''''''''' ''' '''''''''' ' &&& ''''''2
!sdun)el
7/26/2019 Copy_Paster Junos M and T
47/74
'''''''''' '' ' &''''
7/26/2019 Copy_Paster Junos M and T
48/74
SNP,.
7/26/2019 Copy_Paster Junos M and T
49/74
'''''' '''' '' '''''''2
!sdun)el
7/26/2019 Copy_Paster Junos M and T
50/74
!sdun)el
7/26/2019 Copy_Paster Junos M and T
51/74
!sdun)el
7/26/2019 Copy_Paster Junos M and T
52/74
'''''''''%
Logging
&''' '' ''''''' '' ''''''''' '' &&
7/26/2019 Copy_Paster Junos M and T
53/74
SNP,.
7/26/2019 Copy_Paster Junos M and T
54/74
''''''''''''''' '''* '''''''* '''''''' '' '''''''''''''''''''% &'' ''''''''' ''''''' '''' '''''''''''''''%
!sdun)el 7oading2 reuested LSAs are added to te database
&''''* '' '''' &&
7/26/2019 Copy_Paster Junos M and T
55/74
outer X0/%.//%5%0 0/%.//%5%0 /'9//////8 .7/ /'.. /'6/5a 8/ bits /'/* lin) "ount 6 id 0/%.//%5%0* data .33%.33%.33%.33* Ty!e Stub :6; TOS "ount /* TOS / metri" / id 0/%.//%5%.* data 09%6.%54%0* Ty!e PointToPoint :0; TOS "ount /* TOS / metri" 0
id 09%6.%54%/* data .33%.33%.33%.3.* Ty!e Stub :6; TOS "ount /* TOS / metri" 0outer 0/%.//%5%. 0/%.//%5%. /'9//////3 6/6 /'.. /'6/59 8/ bits /'/* lin) "ount 6 id 0/%.//%5%.* data .33%.33%.33%.33* Ty!e Stub :6; TOS "ount /* TOS / metri" / id 0/%.//%5%0* data 09%6.%54%.* Ty!e PointToPoint :0; TOS "ount /* TOS / metri" 0 id 09%6.%54%/* data .33%.33%.33%.3.* Ty!e Stub :6; TOS "ount /* TOS / metri" 0
&'''* ''''''' &''''' ''' &''''''' ''' '''' ''''''''''''''' 0 :''''''; &&&'* ''''' ''''''' ''''''''''' '' '''''''''''''' '' '''' ''''''% &'''' '''' ''''''' '''' ''''
0 &&&& '''''''''' :'' '''' ''''';* ''''' '''''' &&&''''' '''''''% &''' ''''''' ''''' ''' ''''''
7/26/2019 Copy_Paster Junos M and T
56/74
&'' '''''' '' ''' &&&& ''''''' ''' '' '''''''' ''''' ''''''' '''' ''''''''''' ''' '''' '''' ''''''''''''''''''2
!sdun)el
e"ei,e errors2 None
12
7/26/2019 Copy_Paster Junos M and T
57/74
&&& ''''''' '''' ' ''''''''
7/26/2019 Copy_Paster Junos M and T
58/74
''''''% &'' ''''' '' '''''''''''' ''''' '' ''''''' ''''''' ''''''''' ''''''''2
" # idle% # connect' # acti0e # o&ensent* # o&encon!rm #established
&'' ''''''''' ''''' '''' '''''''' '' &&& ''''' ''''' '''''''''' ''''' ''''''* '''''''' '' ''' &&& '''' ''0/%.//%5%.%
&''''''' ''2
"artman
7/26/2019 Copy_Paster Junos M and T
59/74
0/%.//%5%0 :'''''; '' 0/%.//%5%. :''''; ''' '' ''''' '' /''''' ''' '' '''' '''' ''''' '''' '''''''' '''''''%
&'' '''&''&.&'''''&'&'''''''*'''&''&.&'''''&'&'''''''&''''''' '''
'''&''&.&'''''&'&'''''''&''''''' ''' '''''''' ''''*''' '''' ''''''' ''''''''''' '' ''' ''''' '''''''''''''' ''''''''* ''''' '''''' '' '''''''' ''''''''* '''''''' '''''' '' '''''''' ''''''''% &'''' &&&' '''0%6%8%0%4%0%.868%3%0%0%.%8%.%0%5*0%6%8%0%4%0%.868%3%0%0%.%8%.%0%9 '''0%6%8%0%4%0%.868%3%0%0%.%8%.%0%7* ''' ''' ''' '''''''''''''''2 0%6%8%0%4%0%.868%3%0%0%.%8%.%0%5%Q'''''R%
&'''' '''''''' ''''''''2
nms
7/26/2019 Copy_Paster Junos M and T
60/74
''' ''' ''''''' '' 0/%.//%5%6 ''' '''' '''' ''' '''''' ''''''''''% &'''''''''''' ''' '''''' '' '''' ' ''''''' ''''''' '' '' '''' ''' '''' ''''''''' ''' ''''' '''''' ''''''''' '''''' '' ''''''''''''''%
&'' '''' ''' ''''''''''''''' '''''''' ''''''''''''''''''''' ''' '''' &&& ''''% & '''''''''' '''' ''' ''''''''''' '''' '''' ''''''' :''' '''''''* '''' ''' ''''''''0/%.//%5%.; '' ''''''' ''''''''''' '''''''' '' '''' ''''*'''''''' '''' '''''' '''''''' ''''''''''' ''' ''' '''''2
!sdun)el
7/26/2019 Copy_Paster Junos M and T
61/74
'''' '''''''' ''' '''' ''' '' ''''' ''''% &'''' ''' '''''''''''' '''''' ''' '''' '''''' ''' '''''''''' '' '''''''% &'''''''' '''' '''''''''''* ''' ''' &&& '''''''''''''' ''''''''''%
&'''' '''''''' &&& ''''''''''' '''''''' ''''''' ''''''''' '''''''' '''''''' '''''''' ''' '''''' '''''''''''''' &&&* '''' ''''' '''''''''''
7/26/2019 Copy_Paster Junos M and T
62/74
''' '''''' ''''' '''''''' '''' ''' ''''''''% &'' ''''''''''' '' ''' ''''' '''''' ''''' '' ''' '''''''' '''''''' '''' ''' ''''''''2
!sdun)el
7/26/2019 Copy_Paster Junos M and T
63/74
''''''''' '''' '' ''''''''''' ''''''' '''''''' '''' ''''''' '' ''''' ''''''' ''''''''' ''' ''''''''''%
Outage T+pes
&''=' ''''' '' '''''''''''' ''' ''''''''' ''''' '' &&'''''''2
> 2ac>et 7oss2 Pa")et loss is te #ailure to deli,er a !a")etto a destination and "an be "aused by many di`erent!roblems% Te most "ommon "ul!rits are a do+n "ir"uit*la") o# :"orre"t; routing in#ormation* routing loo!s* ando,er Cir"uit o,erutili@ation :!artial outage;> oute os"illation :!artial outage;
&' '''''''''''' ''''' ''''' '' ''''''' '''=' ''''''''''' ''' ''''' '' ''''''' '''''''' ''' ''''''* '''''''''* ''''''''* '''''''' ''' ''''
7/26/2019 Copy_Paster Junos M and T
64/74
'''''''' ''''''' '' ''''* '' ' '''' '' ''' &'''' ''''''%
&'' '''' '''''' '''' ''' ''''''''''''''' '''' '''' '''''''' ''xxxxxxxxxx% &''''''''' ''''' ' '''''' ''''''''' ''''''' ' ''''''''''' '''' '' '''''''''''' ''''
Top Related