39
SRX Troubleshooting Library Compilation of Juniper SRX Troubleshooting Configurations and Commands Ben Boyd Network Engineer www.sinatranetwork.com

SRX Troubleshooting Command Library.v3

Embed Size (px)

DESCRIPTION

SRX TShoot

Citation preview

Skk 1roub|eshoot|ng L|brary CompllaLlon of !unlper S8x 1roubleshooLlng ConflguraLlons and Commands 8en 8oyd neLwork Lnglneer www.slnaLraneLwork.com S8x 1roubleshooLlng Llbraryage 2 1ab|e of Contents !"#$%&'() +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ , -./0"1234'3530)6 704 8(70/6 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ , !"09&':%7)&"0 ;"43 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ < =3%&9$ )(3 >76) !"55&))34 !"09&':%7)&"0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ < show configuiation ...................................................................................................................................................................... 6 show system commit .................................................................................................................................................................. 6 show configuiation | compaie iollback x .......................................................................................................................... 7 show configuiation | uisplay set ............................................................................................................................................ 7 =3%&9$ >"'6 -%3 ?:&2) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @ messages log configuiation ...................................................................................................................................................... 8 inteiactive-commanus log configuiation ........................................................................................................................... 8 blockeu-tiaffic log configuiation ........................................................................................................................................... 8 secuiity log configuiation ......................................................................................................................................................... 9 =3%&9$ 8%7.3"#)&"06 -%3 ?:&2) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AB secuiity flow tiaceoptions ...................................................................................................................................................... 1u ospf tiaceoptions ........................................................................................................................................................................ 1u C#3%7)&"072 ;"43 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AA >"' !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AA show log messages ..................................................................................................................................................................... 11 show log inteiactive-commanus .......................................................................................................................................... 11 show log jsipu .............................................................................................................................................................................. 12 show log chassisu ....................................................................................................................................................................... 12 show system boot-messages ................................................................................................................................................. 12 monitoi (stait|stop) xyz .......................................................................................................................................................... 1S cleai log xyz .................................................................................................................................................................................. 1S show log examples ..................................................................................................................................................................... 1S -27%5 !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AD show chassis alaims .................................................................................................................................................................. 14 show system alaims .................................................................................................................................................................. 14 show system coie-uumps ....................................................................................................................................................... 14 E7%417%3 !"557046 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ A, show chassis haiuwaie uetail ............................................................................................................................................... 1S show chassis enviionment ..................................................................................................................................................... 1S show chassis fan ......................................................................................................................................................................... 16 F"9)17%3 G H&%517%3 !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AI show veision ................................................................................................................................................................................ 17 show chassis fiimwaie ............................................................................................................................................................. 17 show system softwaie uetail ................................................................................................................................................. 17 J67'3 F)7)&6)&.6 !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AK show chassis iouting-engine ................................................................................................................................................. 19 show system uptime ................................................................................................................................................................. 19 show system buffeis ................................................................................................................................................................. 2u S8x 1roubleshooLlng Llbraryage 3 show system viitual-memoiy ............................................................................................................................................... 2u show system piocesses ............................................................................................................................................................ 2u show secuiity iup memoiy ..................................................................................................................................................... 21 show secuiity monitoiing peifoimance session .......................................................................................................... 21 show secuiity monitoiing peifoimance spu .................................................................................................................. 22 show secuiity monitoiing fpc X ........................................................................................................................................... 22 !2:6)3% !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ LM show chassis clustei status .................................................................................................................................................... 2S show chassis clustei inteifaces ............................................................................................................................................ 2S show chassis clustei statistics .............................................................................................................................................. 24 show chassis clustei infoimation ........................................................................................................................................ 24 N0)3%97.3 !"557046 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ L< show inteifaces teise | match ieth ..................................................................................................................................... 26 show inteifaces teise | match inet ...................................................................................................................................... 26 show inteifaces ww-XYZ | match zone ......................................................................................................................... 26 show inteifaces ww-XYZ extensive ............................................................................................................................... 26 monitoi inteiface ww-XYZ ................................................................................................................................................ 28 monitoi tiaffic inteiface ww-XYZ ................................................................................................................................... 28 monitoi inteiface tiaffic .......................................................................................................................................................... 29 O":)&0' !"557046 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MB show ospf neighboi (instance xyz) ..................................................................................................................................... Su show ospf uatabase (instance xyz) ..................................................................................................................................... Su show ospf ioute (instance xyz) ............................................................................................................................................ Su show ospf statistics (instance xyz) ..................................................................................................................................... S1 show ioute |piefixj (table xyz) uetail ................................................................................................................................ S1 show ioute piotocol (ospf |bgp|static) ............................................................................................................................. S1 ping |uestinationj (iouting-instance xyz) ........................................................................................................................ S2 tiaceioute |uestinationj (iouting-instance xyz) (iapiu) (count x) (size y) ...................................................... S2 F3.:%&)$ !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MM show secuiity zones uetail ..................................................................................................................................................... SS show secuiity flow statistics ................................................................................................................................................. SS show secuiity flow session summaiy ................................................................................................................................ S4 show secuiity flow session (application|uestination-piefix|souice-piefix|.) ............................................... S4 show secuiity alg status .......................................................................................................................................................... SS show secuiity nat souice iule all ......................................................................................................................................... S6 show secuiity nat uestination iule all ............................................................................................................................... S6 show secuiity nat static iule all ........................................................................................................................................... S6 show secuiity policies (fiom-zone|policy-name|to-zone) ....................................................................................... S7 !"0)7.)&0' P8-! 8" C#30 - 83.(0&.72 F:##"%) !763 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ M@ Case 0pening Pioceuuie ......................................................................................................................................................... S8 iequest suppoit infoimation | save isi_|uatej.txt ........................................................................................................ S8 -.)&"0 !"557046 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MK set chassis clustei clustei-iu 1 noue 1 ieboot ................................................................................................................ S9 iequest chassis clustei failovei ieuunuancy-gioup 1 noue 1 ................................................................................. S9 iequest chassis clustei failovei ieset ieuunuancy-gioup 1 ..................................................................................... S9 S8x 1roubleshooLlng Llbraryage 4 iequest system ieboot .............................................................................................................................................................. S9 iequest system halt (iequest system powei-off) ......................................................................................................... S9 iequest iouting-engine login noue 1 .................................................................................................................................. S9 iequest chassis pic fpc-slot u pic-slot u offline .............................................................................................................. S9 iequest system softwaie auu (location of image) no-valiuate no-copy ieboot .............................................. S9 S8x 1roubleshooLlng Llbraryage 3 Copyr|ght 1hls documenL ls free for everyone.l [usL ask LhaL you glve credlL where credlL ls due! Acknow|edgements and 1hanks My awesome wlfe: Amanda. My bosses pasL and presenL: 8achelle Summers, !oe Sorlcelll, uoug Marshke, and !ohn PasLy. 1he !unlper !-nL1 forum communlLy and Lhe !unlper LwlLLer communlLy. S8x 1roubleshooLlng Llbraryage 6 Conf|gurat|on Mode 1roubleshooLlng beglns wlLh conflguraLlon.1he mosL common mlsLake when LroubleshooLlng ls noL verlfylng Lhe conflguraLlon ls correcL before raclng Lo dlagnose Lhe lssue. CperaLlonal mode commands are fanLasLlc ln helplng dlagnose and plnpolnL problems, buL ln Lhe end a conflguraLlon change wlll mosL llkely flx" Lhe lssue. !"#$%& ()" *+,( -.//$(("0 -.1%$23#+($.1 ?ou can verlfy Lhe lasL commlLLed conflguraLlon wlLhouL enLerlng conflguraLlon.Pere are a few commands Lo help verlfy Lhe conflguraLlon. lf Lhere have been changes ln Lhe porLlon of conflguraLlon LhaL ls relaLed Lo Lhe lssue you're LroubleshooLlng, verlfylng Lhe conflguraLlon sLarLs you ln Lhe rlghL place.lf Lhere haven'L been any changes recenLly and Lhe conflguraLlon looks correcL, Lhen you know you're deallng wlLh a posslble hardware lssue or someLhlng noL relaLed Lo Lhe S8x aL all. show conf|gurat|on1hls operaLlonal-mode command wlll show you Lhe currenL runnlng conflguraLlon as well as who commlLLed Lhls conflguraLlon. ## Last commit: 2u1u-u9-u9 u8:26:46 0TC by ben veision 1u.uRS.1u; system { host-name olive1uu; ioot-authentication { enciypteu-passwoiu "$1$oafi8h7n$8h2y0Cgqutl7AIZBjlo0h1"; ## SECRET-BATA } name-seivei { 2u8.67.222.222; } . show system comm|t 1hls operaLlonal-mode command shows Lhe prevlously commlLLed conflguraLlon, users who commlLLed, and a LlmesLamp of Lhe commlL. benolive1uu> show system commitu 2u1u-u9-u9 u8:26:46 0TC by ben via cli 1 2u1u-u9-u9 u8:26:16 0TC by ben via cli 2 2u1u-u9-u6 u9:uS:S2 0TC by ben via cli . S8x 1roubleshooLlng Llbraryage 7 show conf|gurat|on | compare ro||back x 1hls operaLlonal-mode command compares Lhe currenL conflguraLlon wlLh a prevlously commlLLed conflguraLlon (x).?ou can geL Lhe conflguraLlon number (x) from Lhe 'show sysLem commlL' command. benolive1uu> show configuiation | compaie iollback 2|euitj +secuiity { +flow { +inactive: tiaceoptions { +file flow_tiace size Sm files 2u woilu-ieauable; +flag basic-uatapath; +packet-filtei to { +souice-piefix 1.1.1.1S2; +uestination-piefix 2.2.2.2S2; +} . show conf|gurat|on | d|sp|ay set 1hls operaLlonal-mode command wlll show Lhe conflguraLlon ln seL" formaL.1hls helps wlLh copylng, edlLlng, and pasLlng cerLaln commands lnLo Lhe conflg. benolive1uu> show configuiation | uisplay setset veision 1u.uRS.1u set system host-name olive1uu set system ioot-authentication enciypteu-passwoiu "$1$oafi8h7n$8h2y0Cgqutl7AIZBjlo0h1" set system name-seivei 2u8.67.222.222 . S8x 1roubleshooLlng Llbraryage 8 !"#$%& *.2, 4#" 53$6( 1he nexL sLep ln Lhe LroubleshooLlng process ls Lo verlfy LhaL Lhe S8x ls correcLly seL up Lo log on evenL fallures and lssues. messages |og conf|gurat|on verlfy LhaL Lhe syslog ls logglng Lhe sysLem-wlde messages you need. 1he messages log ls Lhe defaulL !unCS log for sysLem-wlde errors, alarms, and lnformaLlon. benolive1uu> show configuiation system syslog file messagesany notice; authoiization info; |nteract|ve-commands |og conf|gurat|on 1he lnLeracLlve-commands log ls a cusLom log, buL very useful when debugglng whaL commands a user ran before Lhe lssue arose. benolive1uu> show configuiation system syslog file inteiactive-commanusinteiactive-commanus any; b|ocked-traff|c |og conf|gurat|on lf you don'L have access or are unable Lo log from S8x securlLy pollcles Lo a log server, Lhe cusLom blocked-Lrafflc" log ls greaL for logglng pollcy denles.1he log wlll noL populaLe unless Lhe securlLy pollcy ls seL Lo log elLher sesslon-lnlL or sesslon-close. benolive1uu> show configuiation system syslog file blockeu-tiafficany any; match RT_FL0W_SESSI0N_BENY; stiuctuieu-uata; S8x 1roubleshooLlng Llbraryage 9 secur|ty |og conf|gurat|on lf you aren'L logglng Lrafflc pollcy denles/permlLs, LroubleshooLlng pollcy lssues can be exLremely dlfflculL.8elow ls a conflguraLlon for a securlLy log sLream.1hls conflguraLlon sends securlLy pollcy logs Lo an exLernal hosL. benolive1uu> show configuiation secuiity log moue stieam; foimat su-syslog; souice-auuiess 1u.2uS.2S4.2; stieam STRN { seveiity info; foimat su-syslog; categoiy all; host { 1u.2uS.2S4.4; poit S14; } } S8x 1roubleshooLlng Llbraryage 10 !"#$%& 7#+8".9($.1, 4#" 53$6( 1raceopLlons are avallable ln vlrLually every porLlon of Lhe !unCS conflguraLlon.Slnce !unCS runs processes ln proLecLed memory space, lL ls posslble Lo Lrace (debug) lndlvldual conflguraLlon modules wlLhouL affecLlng overall sysLem performance. secur|ty f|ow traceopt|ons 1he securlLy flow LraceopLlons conflguraLlon ls used Lo creaLe a LraceopLlons flle LhaL debugs Lhe flow of a packeL maLchlng a fllLer Lhrough Lhe !unCS flow processlng module. benolive1uu> show configuiation secuiity flow tiaceoptionsfile flow_tiace size Sm files 2u woilu-ieauable; flag basic-uatapath; packet-filtei to { souice-piefix 1.1.1.1S2; uestination-piefix 2.2.2.2S2; } packet-filtei fiom { souice-piefix 2.2.2.2S2; uestination-piefix 1.1.1.1S2; } ospf traceopt|ons lf CSl ls flapplng or noL exacLly worklng rlghL and you wanL more lnformaLlon Lhan whaL ls shown ln Lhe messages log (CSl ls down), Lhen creaLe a ospf speclflc LraceopLlons LhaL capLures Lhe deLalls of Lhe CSl operaLlon. benolive1uu> show configuiation piotocols ospf tiaceoptionsfile ospf_tiace size Sm files 1u woilu-ieauable; flag all; flag state; flag spf; flag timei; flag task; S8x 1roubleshooLlng Llbraryage 11 Cperat|ona| Mode CeLLlng lnLo Lhe meaL" of LroubleshooLlng and delvlng deep lnLo !unCS conflguraLlon, archlLecLure, and processlng ls done Lhrough operaLlonal mode commands.Some of Lhese commands are based on conflguraLlons we've bullL and some are bullL lnLo !unCS as a defaulL. 1hls llbrary doesn'L lnclude every command, buL lL does lnclude Lhe bulk of operaLlonal LroubleshooLlng commands you'll need when encounLerlng lssues ln your neLwork.As wlLh mosL neLwork operaLlng sysLems, navlgaLlng commands wlLh Lhe ?" key ls exLremely helpful. *.2 -.//+10, !unCS logs are very helpful lf Lhey are conflgured correcLly (see ConflguraLlons" secLlon above).1hls secLlon shows how Lo vlew each of Lhe relevanL logs when deallng wlLh lssues wlLhln an S8x. show |og messages1he messages log ls Lhe generlc (noL deLalled) log for all evenLs, errors, and lnformaLlon generaLed ln Lhe S8x. benolive1uu> show log messagesSep 1u u4:uu:uu olive1uu newsyslog|176S1j: logfile tuineu ovei uue to size>1u24K Sep 1u u4:uu:u6olive1uu keinel: Piocess (1417S,pkiu) attempteu to exceeu RLINIT_BATA: attempteu 1S11S6 KB Nax 1S1u72 KB Sep 1u u4:uS:u6olive1uu keinel: Piocess (1417S,pkiu) attempteu to exceeu RLINIT_BATA: attempteu 1S11S6 KB Nax 1S1u72 KB Sep 1u u4:1u:u6olive1uu keinel: Piocess (1417S,pkiu) attempteu to exceeu RLINIT_BATA: attempteu 1S11S6 KB Nax 1S1u72 KB Sep 1u u4:1S:u6 . show |og |nteract|ve-commands 1hls log ls cusLom bullL (see conflguraLlon secLlon) and exLremely useful when flndlng ouL whaL users senL whlch commands Lo Lhe S8x. benolive1uu> show log inteiactive-commanusSep4 17:uu:uu olive1uu newsyslog|147Suj: logfile tuineu ovei uue to size>1u24K Sep4 17:41:u1olive1uu mgu|14422j: 0I_CNBLINE_REAB_LINE: 0sei 'ben', commanu 'iollback u ' Sep4 17:41:u1olive1uu mgu|14422j: 0I_L0AB_EvENT: 0sei 'ben' is peifoiming a 'iollback' Sep4 17:41:u2olive1uu mgu|14422j: 0I_CNBLINE_REAB_LINE: 0sei 'ben', commanu 'exit ' . S8x 1roubleshooLlng Llbraryage 12 show |og [srpd 1he [srpd log ls Lhe log generaLed by Lhe [srpd process LhaL handles Lhe S8x clusLerlng.1hls log ls relevanL when LroubleshooLlng clusLer lssues. benolive1uu> show log jsipuNov 17 1S:1u:SS successfully set uefault tiaceoptions cfg Nov 17 1S:1u:SS }SRPB ielease 1u.1R1.8 built by builuei on 2u1u-u2-12 17:29:S9 0TC staiting, piu 111u Nov 17 1S:1u:SS noue iu invaliu, clustei-iu u in keinel Nov 17 1S:1u:SS Contiol inteiface name emu with inuex u . show |og chass|sd 1he chasslsd log ls Lhe log generaLed by Lhe chasslsd process LhaL handles Lhe !unlper S8x chassls envlronmenL.lf you have a card go up ln flames, you'll see Lhe deLalled alarms and messages ln Lhls log. benolive1uu> show log chassisuBec9 19:S2:41 ge-1u6: laige uelay buffei cleaieu Bec9 19:S2:41 ge-1u6: ingiess queueing cleaieu foi QBPC Bec9 19:S2:41 CBASSISB_IFBEv_CREATE_N0TICE: cieate_pics: cieateu inteiface uevice foi ge-1u7 . show system boot-messages 1hls log" conLalns Lhe messages produced durlng Lhe booL sequence of Lhe devlce. benolive1uu> show system boot-messagesCopyiight (c) 1996-2u1u, }unipei Netwoiks, Inc. All iights ieseiveu. Copyiight (c) 1992-2uu6 The FieeBSB Pioject. Copyiight (c) 1979, 198u, 198S, 1986, 1988, 1989, 1991, 1992, 199S, 1994 The Regents of the 0niveisity of Califoinia. All iights ieseiveu. }0N0S 1u.uRS.1u #u: 2u1u-u4-16 u7:17:SS 0TC builueioimonth.junipei.net:volumebuilujunos1u.uielease1u.uRS.1uobj-iS86bsusyscompile}SR Timecountei "i82S4" fiequency 119S182 Bz quality u CP0: Intel(R) Coie(TN)2 Buo CP0 P7SSu 2.26uBz (22S7.S8-NBz 686-class CP0) . S8x 1roubleshooLlng Llbraryage 13 mon|tor (start|stop) xyz 1he monlLor" command wlll sLarL or sLop Lhe LlvL sLreamlng of a log Lo Lhe Lermlnal.lf you monlLor a very acLlve log, your Lermlnal screen wlll be overrun wlLh log messages, so be careful. benolive1uu> monitoi stait messages c|ear |og xyz lf you have a large log and have gone Lhrough as much as you can wlLhouL flndlng anyLhlng relevanL, you can clear a log Lo sLarL fresh. benolive1uu> cleai log inteiactive-commanus show |og examp|es Pere are some examples for showlng logs. bensinatia-fw1-noueu> show log messages | match alaimFeb 2S 14:S2:SSsinatia-fw1-noueu ciaftu|11S7j:Ninoi alaim set, Bost u Tempeiatuie Waim Feb 2S 14:S2:S8sinatia-fw1-noueu alaimu|11u8j: Alaim cleaieu: RE coloi=YELL0W, class=CBASSIS, ieason=Bost u Tempeiatuie Waim Feb 2S 14:S2:S8sinatia-fw1-noueu ciaftu|11S7j: Ninoi alaim cleaieu, Bost u Tempeiatuie Waim

bensinatia-fw1-noueu> show log inteiactive-commanus | last SFeb 24 14:uS:4Ssinatia-fw1-noueu mgu|7S14j: 0I_CNBLINE_REAB_LINE: 0sei 'ben', commanu 'show log messages | match alaim ' Feb 24 14:u6:S1sinatia-fw1-noueu mgu|7S14j: 0I_CNBLINE_REAB_LINE: 0sei 'ben', commanu 'show log inteiactive-commanus | last S ' bensinatia-fw1-noueu> show log messages | finu 14:uS Feb 24 14:uS:S7sinatia-fw1-noueu sshu|7S1uj: Accepteu passwoiu foi ben fiom 1u.u.1uu.S poit S79S2 ssh2 S8x 1roubleshooLlng Llbraryage 14 46+#/ -.//+10, !unCS creaLes alarms when Lhe envlronmenL ls not operat|ng as manufacLured/conflgured.8elow are Lhe commands Lo vlew Lhose alarms. show chass|s a|arms 1hls command shows alarms solely relaLed Lo Lhe hardware and Lhe chassls. benolive1uu> show chassis alaims2 alaims cuiiently active Alaim time ClassBesciiption 2u1u-u8-27 21:24:S2 0TCNajoi}seiies Chassis fan Failuie 2u1u-u8-27 21:24:S2 0TCNajoi}seiies CP0 fan Failuie show system a|arms 1hls command shows alarms LhroughouL Lhe sysLem, whlch can lnclude chassls alarms as well. benolive1uu> show system alaimsS alaims cuiiently active Alaim time ClassBesciiption 2u1u-u8-27 21:24:S2 0TCNajoi}seiies Chassis fan Failuie 2u1u-u8-27 21:24:S2 0TCNajoi}seiies CP0 fan Failuie 2u1u-u8-27 21:24:19 0TCNinoiRescue configuiation is not set show system core-dumps lf a Cu falls on any of Lhe hardware lnsLalled, Lhe Cu dumps Lhe core conLenLs lnLo a flle.1hese flles are saved on Lhe rouLlng-englne's hard drlve for revlew by !1AC Lechnlclans. benolive1uu> show system coie-uumpsvaiciash*coie*: No such file oi uiiectoiy -iw-iw----1 iootwheel 6S469S Sep 4uS:16 vaitmpflowu_hm.coie.u.gz -iw-iw----1 iootwheel 6S4696 Sep 4uS:16 vaitmpflowu_hm.coie.1.gz -iw-iw----1 iootwheel 6S469S Sep 4uS:16 vaitmpflowu_hm.coie.2.gz vaiciashkeinel.*: No such file oi uiiectoiy tftpbootcoiefiles*coie*: No such file oi uiiectoiy total S S8x 1roubleshooLlng Llbraryage 13 :+#0;+#" -.//+10, lf you are LroubleshooLlng whaL you belleve Lo be hardware lssues, Lhe followlng commands wlll be useful ln deLermlnlng Lhe hardware envlronmenL of Lhe S8x. show chass|s hardware deta|| 1hls command shows all of Lhe lnsLalled hardware ln Lhe devlce.lL would be besL Lo have a basellne of Lhls command before lssues are ran lnLo, someLlmes when hardware goes bad lL won'L show ln Lhls ouLpuL. 1hls command ls also used Lo flnd Lhe serlal number of Lhe devlce when openlng a !1AC case. junipeicascimuinetSuiu-f1> show chassis haiuwaie uetailnoueu: -------------------------------------------------------------------------- Baiuwaie inventoiy: Item veisionPait numbeiSeiial numbei Besciiption Chassis}N11A27uBAuASRX S8uu Niuplane REv u1 71u-u248uS ABAB4976SRX S8uu Backplane FPN BoaiuREv u1 71u-u246S2 Yu49SSFiont Panel Bisplay PBNRev uS 74u-u1S11u QCS142SSuCF Powei Bistiibution Nouule PEN uRev uS 74u-u2SS14 QCS14u1EuuB PS 1.7kW; 2uu-24uvAC in . noue1: -------------------------------------------------------------------------- Baiuwaie inventoiy: Item veisionPait numbeiSeiial numbei Besciiption Chassis}N11A27u6AuASRX S8uu Niuplane REv u1 71u-u248uS ABAB498uSRX S8uu Backplane FPN BoaiuREv u1 71u-u246S2 YF9S26Fiont Panel Bisplay PBNRev uS 74u-u1S11u QCS142SSuBP Powei Bistiibution Nouule PEN uRev uS 74u-u2SS14 QCS14SSEuuW PS 1.7kW; 2uu-24uvAC in . show chass|s env|ronment 1hls command shows Lhe LemperaLure and sLaLus of all hardware componenLs ln Lhe S8x. junipeicascimuinetSuiu-f1> show chassis enviionmentnoueu: -------------------------------------------------------------------------- Class Item Status Neasuiement TempPEN u0K 4u uegiees C 1u4 uegiees F PEN 20K SS uegiees C 9S uegiees F S8x 1roubleshooLlng Llbraryage 16 Bottom Tiay Fan 60K Spinning at noimal speeu . noue1: -------------------------------------------------------------------------- Class Item Status Neasuiement TempPEN u0K 4u uegiees C 1u4 uegiees F PEN 20K SS uegiees C 9S uegiees F Bottom Tiay Fan 60K Spinning at noimal speeu . show chass|s fan 1hls command shows Lhe sLaLus of all of Lhe fans ln Lhe S8x (also parL of Lhe command above) junipeicascimuinetSuiu-f1> show chassis fannoueu: -------------------------------------------------------------------------- ItemStatus RPN Neasuiement Top Tiay Fan 10K 2896Spinning at noimal speeu. noue1: -------------------------------------------------------------------------- ItemStatus RPN Neasuiement Top Tiay Fan 10K 288uSpinning at noimal speeu. S8x 1roubleshooLlng Llbraryage 17 show veisionBostname: olive1uu Nouel: j4Suu }0N0S Softwaie Release |1u.uRS.1uj show chass|s f|rmware 1hls command shows Lhe flrmware verslon loaded on each lC. junipeicascimuinetSuiu-f1> show chassis fiimwaienoueu: -------------------------------------------------------------------------- Pait Type veision FPC 1R0N}unipei R0N Nonitoi veision 9.Sb1 0Sveision 1u.2RS.1u by builuei on 2u1u-1u-16FPC 9R0N}unipei R0N Nonitoi veision 9.Sb1 0Sveision 1u.2RS.1u by builuei on 2u1u-1u-16FPC 1u R0N}unipei R0N Nonitoi veision 9.Sb1 0Sveision 1u.2RS.1u by builuei on 2u1u-1u-16. noue1: -------------------------------------------------------------------------- Pait Type veision FPC 1R0N}unipei R0N Nonitoi veision 9.Sb1 0Sveision 1u.2RS.1u by builuei on 2u1u-1u-16FPC 9R0N}unipei R0N Nonitoi veision 9.Sb1 0Sveision 1u.2RS.1u by builuei on 2u1u-1u-16FPC 1u R0N}unipei R0N Nonitoi veision 9.Sb1 0Sveision 1u.2RS.1u by builuei on 2u1u-1u-16. show system software deta||1hls ls a more deLalled show verslon" command. S8x 1roubleshooLlng Llbraryage 18 junipeicascimuinetSuiu-f1> show system softwaie uetailnoueu: -------------------------------------------------------------------------- Infoimation foi junos: Comment: }0N0S Softwaie Release |1u.2RS.1uj Bepenus on: Besciiption: }0N0S Softwaie Release Copyiight (c) 1996-2u1u, }unipei Netwoiks, Inc. All iights ieseiveu. Softwaie veision:1u.2RS.1u This package contains 0S components. . S8x 1roubleshooLlng Llbraryage 19 ?,+2" show chassis iouting-engineRouting Engine status: Total memoiy1u24 NB Nax Su2 NB useu ( 49 peicent) Contiol plane memoiy S94 NB Nax 499 NB useu ( 84 peicent) Bata plane memoiy4Su NB Nax u NB useu (u peicent) CP0 utilization: 0sei81 peicent Real-time thieausu peicent Keinel19 peicent Iule u peicent Stait time 2u1u-u8-27 21:2S:4S 0TC 0ptime 1S uays, 18 houis, S1 minutes, S8 seconus Last ieboot ieason ux8:powei-button haiu powei offLoau aveiages: 1 minute S minute1S minute 1.uu 1.uu 1.uu show system upt|me 1hls command llsLs Lhe currenL LoLal runnlng Llme of Lhe devlce. benolive1uu> show system uptimeCuiient time: 2u1u-u9-1u 1S:SS:19 0TC System booteu: 2u1u-u8-27 21:2S:4S 0TC (1w6u 18:S1 ago) Piotocols staiteu: 2u1u-u8-27 21:24:21 0TC (1w6u 18:Su ago) Last configuieu: 2u1u-u9-1u 14:u2:18 0TC (u1:SS:u1 ago) by ben S:SSPNup 1S uays, 18:S2, 1 usei, loau aveiages: 1.uu, 1.uu, 1.uu S8x 1roubleshooLlng Llbraryage 20 show system buffers 1hls command shows Lhe currenL uLlllzaLlon of Lhe varlous memory buffers wlLhln Lhe S8x. benolive1uu> show system buffeis187SS1S219u mbufs in use (cuiientcachetotal) 1SS914716862u64u mbuf clusteis in use (cuiientcachetotalmax) 1SS6128 mbuf+clusteis out of packet seconuaiy zone in use (cuiientcache) uuuu 4k (page size) jumbo clusteis in use (cuiientcachetotalmax) uuuu 9k jumbo clusteis in use (cuiientcachetotalmax) uuuu 16k jumbo clusteis in use (cuiientcachetotalmax) SS46KS72KS919K bytes allocateu to netwoik (cuiientcachetotal) uuu iequests foi mbufs uenieu (mbufsclusteismbuf+clusteis) uuu iequests foi jumbo clusteis uenieu (4k9k16k) u464u sfbufs in use (cuiientpeakmax) u iequests foi sfbufs uenieu u iequests foi sfbufs uelayeu u iequests foi I0 initiateu by senufile u calls to piotocol uiain ioutines show system v|rtua|-memory 1hls command shows Lhe memory uLlllzaLlon of each process ln Lhe S8x. benolive1uu> show system viitual-memoiy Type In0se Nem0se Bigh0se RequestsSize(s) ata_uma 2 1K -22S6 file uesc 1172SK -2S6SS16,1u24,2u48,16S84 pioc-aigs4S 2K -16S1S16,S2,64,128,2S6,S12,1u24,2u48,4u96 . 849S4S997 cpu context switches 14941118u2 uevice inteiiupts 78Su88S2 softwaie inteiiupts S881SuS tiaps 42S71SS619 system calls Su keinel thieaus cieateu . show system processes1hls ls Lhe equlvalenL of Lhe ps" command ln a unlx envlronmenL.lL shows all of Lhe currenL runnlng processes on Lhe S8x. benolive1uu> show system piocesses S8x 1roubleshooLlng Llbraryage 21 PIBTTSTATTINE C0NNANB u..WLsu:uu.uu |swappeij 1..ILsu:u1.19 junossbininit -Bjunos -- 2..BL u:SS.S6 |g_eventj . show secur|ty |dp memory 1hls command shows Lhe memory usage of Lhe lu process on each lC. junipeicascimuinetSuiu-f1> show secuiity iup memoiynoueu: -------------------------------------------------------------------------- IBP uata plane memoiy statistics: PIC : FPC 11 PIC 1: Total IBP uata plane memoiy : S1S NB 0seu : 4u NB ( 4u96u KB ) (7.77%) Available : 47S NB ( 4864uu KB ) ( 92.2S%) PIC : FPC 11 PIC u: . show secur|ty mon|tor|ng performance sess|on 1hls command shows Lhe sesslon counLs on each lC. junipeicascimuinetSuiu-f1> show secuiity monitoiing peifoimance sessionnoueu: -------------------------------------------------------------------------- fpc9pic1 Last 6u seconus: u:2412 1:2S6u 2:2419 S:2SSu 4:24SS S:2S79 6:24S1 7:2S69 8:24S4 9:2S7S1u:24S611:2S7S 12:242S1S:2S6114:24u91S:2SSu16:241S17:2SS8 18:24u919:2S442u:24u421:2S4622:24S92S:2S81 24:246S2S:24uu26:246427:24u228:247629:24uS Su:248SS1:2426S2:249SSS:242SS4:2462SS:24uu S6:248uS7:2418S8:2S69S9:2S1S4u:2S7141:2Su9 42:2S7S4S:2S1844:2S784S:2S1946:2S6147:2Su6 48:2S6S49:2Su1Su:2S4SS1:248uS2:2S4SSS:2492 S4:2S62SS:2Su4S6:2S6SS7:2Su7S8:2S62S9:2Su4 . S8x 1roubleshooLlng Llbraryage 22 show secur|ty mon|tor|ng performance spu 1hls command shows Lhe performance sLaLlsLlcs for Lhe spu on each lC. junipeicascimuinetSuiu-f1> show secuiity monitoiing peifoimance spunoueu: -------------------------------------------------------------------------- fpc11 picu Last 6u seconus: u: 2 1: 2 2: S S: 2 4: 2 S: 1 6: 2 7: 2 8: S 9: S1u: 211: 2 12: 21S: S14: 41S: S16: S17: S 18: S19: S2u: S21: 222: 22S: S 24: S2S: S26: 227: 228: S29: 2 Su: SS1: 4S2: 4SS: SS4: 2SS: S S6: SS7: 2S8: 2S9: 24u: 241: 2 42: S4S: S44: S4S: S46: S47: 4 48: S49: 2Su: 2S1: SS2: 2SS: 1 S4: 2SS: 2S6: 2S7: 2S8: SS9: S . show secur|ty mon|tor|ng fpc k 1hls command shows Lhe performance sLaLlsLlcs for Lhe lC selecLed. junipeicascimuinetSuiu-f1> show secuiity monitoiing fpc 9 | no-moienoueu: -------------------------------------------------------------------------- FPC 9 PIC u CP0 utilization:u % Nemoiy utilization : 81 % Cuiient flow session :u Nax flow session :u Cuiient CP session : 114SS Nax CP session : 1u48S76u PIC 1 CP0 utilization:u % Nemoiy utilization : 64 % Cuiient flow session : 2S69 Nax flow session : 1u48S76 Cuiient CP session :u Nax CP session :u S8x 1roubleshooLlng Llbraryage 23 -63,("# -.//+10, When LroubleshooLlng lssues ln an S8x envlronmenL, one of Lhe flrsL areas you'll need Lo verlfy as operaLlonal ls Lhe clusLerlng" of 2 physlcal nodes lnLo 1 loglcal node.lf Lhe clusLer ls bullL or performlng correcLly many oLher sysLem and neLwork lssues can creep up as a resulL. show chass|s c|uster status 1hls command shows Lhe sLaLus of Lhe S8x clusLer.CondlLlons Lo waLch for: SLaLus oLher Lhan rlmary" or Secondary"rlorlLy oLher Lhan whaL's conflgured (Lyplcally 234 & 1) Manual lallover oLher Lhan no" junipeicascimuinetSuiu-f1> show chassis clustei statusClustei IB: 1NouePiioiityStatusPieemptNanual failovei Reuunuancy gioup: u , Failovei count: 1 noueu 2S4 piimaiyno no noue1 1 seconuaiyno no Reuunuancy gioup: 1 , Failovei count: 8 noueu 2S4 seconuaiyno no noue1 1 piimaiyno no show chass|s c|uster |nterfaces 1hls command shows all of Lhe lnLerfaces lnvolved ln Lhe S8x clusLer.1hls lncludes Lhe conLrol porLs, Lhe fabrlc porLs, redundanL LLherneL lnLerfaces (reLh), and Lhe monlLored neLwork porLs. junipeicascimuinetSuiu-f1> show chassis clustei inteifacesContiol link u name: emu Contiol link 1 name: em1 Contiol link status: 0p Fabiic inteifaces:Name Chilu-inteiface Status fabuge-1u1S up fab1 ge-1Su1SupFabiic link status: 0p Reuunuant-etheinet Infoimation:Name StatusReuunuancy-gioup iethuBownNot configuieuieth10p1 S8x 1roubleshooLlng Llbraryage 24 ieth20p1 Inteiface Nonitoiing: Inteiface WeightStatusReuunuancy-gioup ge-1Su142SS 0p1. show chass|s c|uster stat|st|cs 1hls command shows Lhe counLers lnvolved ln Lhe S8x clusLer envlronmenL.1he conLrol llnk and fabrlc llnk senL and recelved counLs should lncremenL wlLh Lhe re-runnlng of Lhls command. junipeicascimuinetSuiu-f1> show chassis clustei statisticsContiol link statistics: Contiol link u: Beaitbeat packets sent: 1474Su9 Beaitbeat packets ieceiveu: 147S94S Beaitbeat packet eiiois: u Contiol link 1: Beaitbeat packets sent: u Beaitbeat packets ieceiveu: u Beaitbeat packet eiiois: u Fabiic link statistics: Piobes sent: 1474291 Piobes ieceiveu: 1272S62 Piobe eiiois: u Seivices Synchionizeu: Seivice nameRT0s sentRT0s ieceiveu Tianslation context uuIncoming NATuuResouice manageiuuSession cieateu181SSS67u. show chass|s c|uster |nformat|on 1hls ls a hldden command LhaL comblnes much of Lhe daLa already presenLed above along wlLh oLher relevanL clusLer lnformaLlon. junipeicascimuinetSuiu-f1> show chassis clustei statisticsContiol link statistics: Contiol link u: Beaitbeat packets sent: 1474Su9 Beaitbeat packets ieceiveu: 147S94S S8x 1roubleshooLlng Llbraryage 23 Beaitbeat packet eiiois: u Contiol link 1: Beaitbeat packets sent: u Beaitbeat packets ieceiveu: u Beaitbeat packet eiiois: u Fabiic link statistics: Piobes sent: 1474291 Piobes ieceiveu: 1272S62 Piobe eiiois: u Seivices Synchionizeu: Seivice nameRT0s sentRT0s ieceiveu Tianslation context uuIncoming NATuuResouice manageiuuSession cieateu181SSS67u. S8x 1roubleshooLlng Llbraryage 26 @1("#%+8" -.//+10, show |nterfaces terse | match reth 1hls command shows all lnLerfaces assoclaLed wlLh reLh lnLerfaces and Lhelr up/down admln and physlcal sLaLus junipeicascimuinetSuiu-f1> show inteifaces teise | match iethge-1uu.uupup aenet--> ieth1.u ge-1Suu.u upup aenet--> ieth1.u iethu upuown ieth1 upup ieth1.u upup inet 1u.2SS.S1.18S28 . show |nterfaces terse | match |net 1hls command shows all lnLerfaces wlLh l addresses conflgured. junipeicascimuinetSuiu-f1> show inteifaces teise | match inet emu.u upup inet 129.16.u.12 em1.u upup inet 129.16.u.12 ieth1.u upup inet 1u.2SS.S1.18S28 ieth2.u upup inet 1u.2SS.S1.16728 ieth1u.uupup inet 162.11S.8.21u2S show |nterfaces ww-k]]2 | match zone1hls command shows Lhe zone assoclaLed wlLh Lhe speclflced lnLerface. junipeicascimuinetSuiu-f1> show inteifaces ieth1 | match zoneSecuiity: Zone: ieu show |nterfaces ww-k]]2 extens|ve 1hls command shows exLenslve sLaLlsLlcs and sLaLus for Lhe speclfled lnLerface. Some Lhlngs Lo Lake noLe of: M1u, Speed, llow ConLrol, uevlce llags, CurrenL Address, LasL llapped, lnpuL Lrrors, CuLpuL Lrrors, llow Lrror SLaLlsLlcs (Lspeclally 1C Sequence ouL of wlndow) junipeicascimuinetSuiu-f1> show inteifaces ieth1 extensivePhysical inteiface: ieth1, Enableu, Physical link is 0p Inteiface inuex: 129, SNNP ifInuex: S22, ueneiation: 1S2 S8x 1roubleshooLlng Llbraryage 27 Link-level type: Etheinet, NT0: 1S14, Speeu: 1ubps, BPB0 Eiioi: None, NAC-REWRITE Eiioi: None, Loopback: Bisableu, Souice filteiing: Bisableu, Flow contiol: Bisableu, Ninimum links neeueu: 1, Ninimum banuwiuth neeueu: u Bevice flags : Piesent Running Inteiface flags: SNNP-Tiaps Inteinal: ux4uuu Cuiient auuiess: uu:1u:ub:ff:1u:u1, Baiuwaie auuiess: uu:1u:ub:ff:1u:u1 Last flappeu : 2u1u-12-12 22:uu:41 uNT (1w2u uu:SS ago) Statistics last cleaieu: Nevei Tiaffic statistics: Inputbytes: 78797uu8826988S1872 bps 0utput bytes:88817S48S916S 9S182uS6 bps Inputpackets: 49211SS214 71S8 pps 0utput packets: 7887S177S11u8uu pps Input eiiois: Eiiois: u, Biops: u, Fiaming eiiois: u, Runts: u, uiants: u, Policeu uiscaius: u, Resouice eiiois: u 0utput eiiois: Caiiiei tiansitions: u, Eiiois: u, Biops: u, NT0 eiiois: u, Resouice eiiois: u . Secuiity: Zone: ieu Alloweu host-inbounu tiaffic : ospf Flow Statistics : Flow Input statistics : Bytes peimitteu by policy :629u22S9u7S7 Connections establisheu :18114764uFlow 0utput statistics:Nulticast packets :u Bytes peimitteu by policy :864u72u9u1899Flow eiioi statistics (Packets uioppeu uue to):. No zone oi N0LL zone binuing u Policy uenieu: 42u979 Secuiity association not active: uTCP sequence numbei out of winuow: S11S11 Piotocol inet, NT0: 1Suu, ueneiation: 1SS, Route table: 6 Auuiesses, Flags: Is-Befault Is-Piefeiieu Is-Piimaiy Bestination: 1u.2SS.S1.17628, Local: 1u.2SS.S1.18S, Bioaucast: 1u.2SS.S1.191, ueneiation: 14u Piotocol multiseivice, NT0: 0nlimiteu, ueneiation: 1S4, Route table: 6 . S8x 1roubleshooLlng Llbraryage 28 mon|tor |nterface ww-k]]2 1hls command shows llve lnLerface counLs for lnpuL/ouLpuL packeLs and errors. 1hls ls a LlvL command LhaL requlres you Lo exlL ouL of Lhe command (q). cascimuinetSuiu-f1Seconus: 4 Time: 2S:u1:1S Belay: uu2 Inteiface: ieth1, Enableu, Link is 0p Encapsulation: Etheinet, Speeu: 1uuumbps Tiaffic statistics: Cuiient uelta Input bytes:788SuuS18244 (89S98u8 bps)|S711746j 0utput bytes:88874S2S78672 (9884884u bps)|42499178j Input packets:4924S86289 (69SS pps) |2SSS2j 0utput packets: 789246422S (1144S pps)|S847Sj Eiioi statistics: Input eiiois:u|uj Input uiops: u|uj Input fiaming eiiois:u|uj Caiiiei tiansitions: u|uj 0utput eiiois: u|uj 0utput uiops:u|uj mon|tor traff|c |nterface ww-k]]2 1hls command ls a Lcpdump of Lrafflc dest|ned for Lhe lnLerface speclfled.1hls ls a LlvL command LhaL requlres you Lo exlL ouL of Lhe command (C18L+C).noLe: plng (lCM) Lrafflc and LranslL Lrafflc wlll noL appear ln Lhls dlsplay junipeicascimuinetSuiu-f1> monitoi tiaffic inteiface ieth1Listening on ieth1, captuie size 96 bytes Reveise lookup foi 1u.2SS.S1.18S faileu (check BNS ieachability). 0thei ieveise lookup failuies will not be iepoiteu. 0se to avoiu ieveise lookups on IP auuiesses. 2S:u2:u4.S99618 0ut IP tiuncateu-ip - 12 bytes missing! 1u.2SS.S1.18S > 0SPF-ALL.NCAST.NET: 0SPFv2, Bello, length S2 2S:u2:uS.S7u679In IP 1u.2SS.S1.178 > 0SPF-BSIu.NCAST.NET: 0SPFv2, LS-0puate, length S6 2S:u2:uS.S7u691In IP 1u.2SS.S1.179 > 0SPF-ALL.NCAST.NET: 0SPFv2, LS-0puate, length S6 2S:u2:uS.6uS9S4In IP 1u.2SS.S1.178 > 0SPF-BSIu.NCAST.NET: 0SPFv2, LS-0puate, length S6 . S8x 1roubleshooLlng Llbraryage 29 mon|tor |nterface traff|c 1hls command shows Lhe lnpuL and ouLpuL packeL counLs for all lnLerfaces on Lhe S8x ClusLer.1hls ls a LlvL command LhaL requlres you Lo exlL ouL of Lhe command (q). cascimuinetSuiu-f1Seconus: 6 Time: 2S:uS:48 InteifaceLinkInput packets(pps) 0utput packets(pps) ge-1uu0p178789S(u)u(u) ge-1u1Bownu(u)u(u) ge-1u20p176u8u2(u)u(u) ge-1uSBownu(u)u(u) ge-1u14 0p 11S4uu7u (14)u(u) ge-1u1S 0pu(u)4u49S28(S) mt-9uuBownu(u)u(u) ge-1Suu 0p 492S779uuS (7uSS) 7894S49S62(1u7S4) ge-1Su1 Bownu(u)u(u) ge-1Su2 0p 79uuS416u4(1u7S1) 491u74S88u (7u2S) ge-1SuS Bownu(u)u(u) ge-1Su140p 11S7476u (1S)167SS1779(6S4) ge-1Su1S0pu(u)S66188899(6S4) mt-21uu Bownu(u)u(u) . S8x 1roubleshooLlng Llbraryage 30 A.3($12 -.//+10, show ospf ne|ghbor (|nstance xyz) 1hls command shows Lhe CSl nelghbors for a speclflc rouLlng-lnsLance junipeicascimuinetSuiu-f1> show ospf neighboi instance piou-viAuuiessInteifaceState IB PiiBeau 1u.2SS.S1.178ieth1.uFull1u.2SS.6S.S 1uS8 1u.2SS.S1.179ieth1.uFull1u.2SS.6S.6SSS 1u.2SS.S1.162ieth2.uFull1u.2SS.6S.111uS7 1u.2SS.S1.16Sieth2.uFull1u.2SS.6S.12 SS1 show ospf database (|nstance xyz) 1hls command shows Lhe CSl daLabase for a speclflc rouLlng-lnsLance junipeicascimuinetSuiu-f1> show ospf uatabase instance piou-vi 0SPF uatabase, Aiea u.u.u.u Type IB Auv Rti SeqAge0ptCksumLenRoutei 1u.2S4.64.46 1u.2S4.64.46 ux8uuuu94u 1SSux2uxu4S772 Routei 1u.2S4.64.47 1u.2S4.64.47 ux8uuuu94u 1S7ux2ux17fu72 Routei 1u.2S4.11S.12u 1u.2S4.11S.12u ux8uuuu22b 861ux2uxSc6f72 . show ospf route (|nstance xyz) 1hls command dlsplays Lhe rouLe-Lable bullL by Lhe CSl Sl algorlLhm.1hls Lable ls Lhen lnserLed lnLo Lhe rouLlng Lable for Lhe rouLlng-lnsLance lL belongs Lo. junipeicascimuinetSuiu-f1> show ospf ioute instance piou-viTopology uefault Route Table: Piefix PathRouteNB Netiic NextBop Nexthop TypeType TypeInteiface AuuiessLSP 1u.2S4.64.46 Intia AS BRIP 81 ieth2.u 1u.2SS.S1.162 1u.2S4.64.47 Intia Routei IP 81 ieth2.u 1u.2SS.S1.162 1u.2S4.11S.12u Intia Routei IP 81 ieth2.u 1u.2SS.S1.162 . S8x 1roubleshooLlng Llbraryage 31 show ospf stat|st|cs (|nstance xyz) 1hls command shows counLers for CSl relaLed Lrafflc.1hls ls useful ln ln deLermlnlng lf rouLes are leavlng Lhe CSl process and reachlng Lhe rouLlng-englne. junipeicascimuinetSuiu-f1> show ospf statistics instance piou-vi Packet type TotalLast S seconus SentReceiveuSentReceiveu Bello SS76896uS6uS 2 1 BbB S99SS96u u u LSReq12S 2 u u LS0puate S9S44S 1uSSu18 u u . show route [pref|x] (tab|e xyz) deta|| 1hls command shows deLalled lnformaLlon concernlng Lhe speclfled rouLe preflx. junipeicascimuinetSuiu-f1> show ioute u.u.u.u table piou-vi uetail piou-vi.inet.u: 2u77 uestinations, 2u77 ioutes (2u77 active, u holuuown, u hiuuen) u.u.u.uu (1 entiy, 1 announceu) *0SPF Piefeience: 1Su Next hop type: Routei, Next hop inuex: S99 Next-hop iefeience count: 289S Next hop: 1u.2SS.S1.178 via ieth1.u, selecteu State: Age: 1w2u 1:1S:4S Netiic: Su1 Tag: 1Task: piou-vi-0SPF Announcement bits (1): 2-KRTAS path: I show route protoco| (ospf |bgp|stat|c) 1hls command wlll show Lhe rouLlng Lable, buL only rouLes LhaL maLch Lhe speclfled proLocol. junipeicascimuinetSuiu-f1> show ioute piotocol static inet.u: 7 uestinations, 7 ioutes (6 active, u holuuown, 1 hiuuen) + = Active Route, - = Last Active, * = Both S8x 1roubleshooLlng Llbraryage 32 u.u.u.uu*|StaticSj 2wSu u2:SS:uS > to 162.11S.8.1 via fxpu.u 162.11S.9.S1S2*|StaticSj 2wSu u2:SS:uS to table logging.inet.u 162.11S.9.S6S2*|StaticSj 2wSu u2:SS:uS to table logging.inet.u 162.11S.9.221S2 *|StaticSj 2wSu u2:SS:uS to table logging.inet.u logging.inet.u: S uestinations, S ioutes (S active, u holuuown, u hiuuen) + = Active Route, - = Last Active, * = Both u.u.u.uu*|StaticSj 1w2u u1:2S:S9 > to 162.11S.8.1 via ieth1u.u piou-vi.inet.u: 2u77 uestinations, 2u77 ioutes (2u77 active, u holuuown, u hiuuen) + = Active Route, - = Last Active, * = Both 162.11S.4u.1S2*|StaticSj 1w2u u1:26:uu > to 1u.2SS.S1.178 via ieth1.u p|ng [dest|nat|on] (rout|ng-|nstance xyz)1hls command sends an lCM plng from Lhe S8x Lo Lhe desLlnaLlon ln Lhe speclfled rouLlng-lnsLance. {piimaiy:noueu} junipeicascimuinetSuiu-f1> ping 1u.2SS.S1.178 iouting-instance piou-vi PINu 1u.2SS.S1.178 (1u.2SS.S1.178): S6 uata bytes 64 bytes fiom 1u.2SS.S1.178: icmp_seq=u ttl=2SS time=2.u92 ms 64 bytes fiom 1u.2SS.S1.178: icmp_seq=1 ttl=2SS time=2.u92 ms ^C --- 1u.2SS.S1.178 ping statistics --- 2 packets tiansmitteu, 2 packets ieceiveu, u% packet loss iounu-tiip minavgmaxstuuev = 2.u922.u922.u92u.uuu ms traceroute [dest|nat|on] (rout|ng-|nstance xyz) (rap|d) (count x) (s|ze y) 1hls command sLarLs an lCM neLwork Lrace-rouLe Lo Lhe desLlnaLlon ln Lhe speclfled rouLlng-lnsLance. junipeicascimuinetSuiu-f1> tiaceioute 1u.2SS.S1.178 iouting-instance piou-vitiaceioute to 1u.2SS.S1.178 (1u.2SS.S1.178), Su hops max, 4u byte packets 11u.2SS.S1.178 (1u.2SS.S1.178)2.447 ms *1.948 ms S8x 1roubleshooLlng Llbraryage 33