华为交换机设备运行检查的常用命令汇总.docx
今天我们就来看看华为交换机设备运行检查的常用命令的介绍,请看下文详细介绍。1、查看子卡的运行状态,可以用命令displaydeviceo此命令可以查看子卡在位信息及状态信息是否正常。<Quidway>displaydeviceS57OO-28C-SI'sDevicestatus:slotsubTyPeOnlinePowerRegisterstatusRole0-S57OO-28C-SIPresentPoweronRegisteredNormalMaster1ES51OX2SPresentPoweronRegisteredNormalNA3FANpresentPoweronRegisteredNormalNA4POWERpresentPoweronRegisteredNormalNA<Quidway><Quidway><Quidway>2、查看设备复位情况,可以用命令displayreboot-info<Quidway>disreboot-infoslotidTimesRebootTypeRebootTime(DST)-Ooooooooooooo01231234567891111MANUAL2017/11/1617:53:29MANUAL2008/10/1221:24:18MANUAL2008/10/12 21:07:40POWER2008/10/01 00:02:20MANUAL2008/10/01 03:29:00POWER2008/10/01 00:03:48POWER2008/10/01 00:02:05POWER2008/10/01 00:02:12POWER2008/10/01 00:02:00POWER2008/10/01 00:02:00OTHER2008/10/05 20:17:07POWER2008/10/01 00:02:05POWER2008/10/01 00:02:04Total<Quidway>3、查看设备温度,可以用命令displaytemperatureallO各模块当前的温度应该在上下限之间,即“Current”的值在“L。Wer"和“Upper”之间。<Quidway>displaytemperatureallSlotCardSensorStatusCurrent(C)Lower(C)upper(C)ONANANormal34y>y>y>y>y>y>.y>laa a a a a a dwdwdwdwdwdwdw Hma Uuuuuuu eeeesee4、查看设备的告警信息,可以用命令displayalarmurgentO如果没有告警就会显示无。<QuIdwayxlIsplayalarmUrgemAlarm:AlarmslotDateTtIne(OST)Locationy>y>y>y>y>ey>iaa a a a a a MM 燃 M U1U1U1U1U15Ul <QH5、查看CPU状态,可以用命令displaycpu-usageO各模块的CPU占用率正常。如果出现CPU占用率长时间超过80%或者频繁出现超过80%的情况,建议重点关注。<Quidway>dsplayCPU-USageCPUusagestat.Cycle:60(second)CPUusage:14%Max:98%CPUUsaqeStat.Time:2017-12-1411:44:44CPUutiTizationforfiveseconds:14%:oneminute:14%:fiveminutes:14%MaxCPUUsageStat.Time:2017-11-1617:55:09.TaskNameVIDLIFPDAAAACLADPTAGNTAGT6ALMALSAMAPPARPBOXBTRCBULLCLASSBULK_CLA5S_IRPBUSMACAPMCFMCLKICMD.SwitchingDEFDDELMDEVDHCPDLDPEAPEFMTEHCD-IHEOAMETHAEZOPEZPPFCATFECDFIBRunrime(CPUTick2671eb3feO321161ffO/fa7cc3OO/f764543O/f323968O/C41324fO/fe9eO/d890dO/OO/OO/OO/OO/2c54aldO/C4b47O/OO/15ad6bO/8b0cl6O/4cf3O/OO/OO/14341b7O/OO/4alO3CPU86%0/0/0%0%0%0%0%0/0;0/0/0/0/0/Oo-6、查看内存占用情况,可以使用displaymemory-usageOO16a4532362fObce3964003237e882903O177814Occab66d9a749497839fd28da7Highicklow)TaskExplanationPRAIDLEOperationSystemtSlctsldtS20IFPDIfnetProductAdapterAAAAuthenAccountAuthorizeACLAccesscontrolListADPTAdapterAgntsnmpagenttaskAGT6SNMPAGT6XaSkalmAlarmManagementALSlossofsignalamAddressManagementAPPARPboxOurpucBTRCtS05t506tS04CAPMcapturePacketCFMconfigurationfilemanagementCLKItS17DEFDCPUDefendDELMACFORSTPDEVDeviceManagementDHCPDynamicHostconfigProtocolDLDPProtocolEAPExtensibleAuthenProtocolEFMTEST802.3AHTesttS03EOAM1AGETHAEZOPEasyoperacionapplicationEZPPEasyoperationpacketFCATcatchPacketsfordebuggingFECDModManageTaskFIBForwardinformationBase<Quidway>dismemory-usageMemoryutilizationstatisticsat2017-12-1411:47:44+11:02SystemTotalMemoryIs:146873864bytesoralMemoryusedis:69721232bytesMemoryusingPercentageIs:47%<Qu1dway><Quidway><Quidway><Quidway><Quidway><Quidway>7、查看日志信息,可以用displaylogbuffer或者displaytrapbuffer0这两个命令为会经常用至L>9btdB<y.dttp*rlMffrk<miQtmfr<orf<axatinK<ommt:rv1i0>ditraMtualbuf<eIUt,M2Cfwvwl:4.C2vw】:IogbdrapedW5ie1:06"«r,ZMms9*O2,Iwt>>t:IM779aJ(r7v779<7F7F7777y7F*制瑞温E锵瑞瑞瑞温常谡舐隅强 ,/ *777*F777r«F77( m 22%mmml Ilutml10。1:,“11:33GJ"KWI,A 4 1SR.*Mi(t)(O Oi ntroj ad” 2x» >"jzS) 3 :1】! Q -,KX0U5 a S¾*.raliC>H/ 69X6 *,<W. XXOl 15* 01:l<«n:02g3,y¾VMSA AJzlb5N MWXI ;a “ ZI2。4 UeretsiwLOG a:4ARR:a -y 00,$3 4、人7(G)( imRl:0? Qu1dw*/ VWZSS*- 4 SAJZlb”: as<*y a""。« u*s<x. IQ MIdoy 9134 3JKC"9 “:呐Xk3 332 VWrKT 4 IXWeSTATt(¾oxss*4a器;窗n::iVkOlXfWKT4U.STA(V 21 wt,aXfwUAV NIXE", “,STtq:l":E”,Xi”,1“2VMl>10.i.l00.1tb¾r>>tce.V1et>.fI-mtwvbm“-.QR)vr-ceM.vm;.mart"dA*vrwr<cm<r>H4)l>10 .100.1.U>f><%M.1Qts1.6lfpa>MX<lAIlB、r10.100.1t.,$” . M*ml. QlE,M>r*vr rlWt uth< f CAt 1R ,川 IN X10.1.100.15. 5Qw C>Z. Y1Wli, f*14>>5cn-vr mA)1c key MM<4Hat1on f><<S)rpA4 1,m6AlQ?m”1 MtolM*SM. lMtfSS*<JAn>ro Sm. (ZF. 1.100.11. Vltr4wf tl, ,AlIfMrwvter Pu)IlC rou 55H. (l*-10.X.100.15. FOV f2 , T1ei>. f 1*<*caior*<r public ,e«NB I1,!.W§:AW»1”1 WQJuItu W».1 Mm. Cl.l.0,W. US<f4M<r. ,! falpvbllc h<y MhMlCMlOn 3 1B)Wont IVhastvrrwdIEe S %tatt.2s2Zg 9 %<4t.;m“ciHttrwff><oo ;。i 23 hrrpthS TM.W6ICMq8,-W.>vy L 一R t<M.:W gg” 21* I XWt(I)(U) : Z 响,“16 IE",一 卬一mzcl *>w9M ow.:。23" 2 > tK.»Auf-Mv>t(niii cir4I1J IN l> pzi.,:3 qwtay ¾0) 4 r*4.MY.>V.CNC<>)ti:X*v< HMt 0u< l OAR<<. (hA9ry>-01t< XelKH. rrMclStMlCa <1tIfvrAro. atp>W. 1M.0.<. r-il:W14”LWe14ft<c . Fftrl“U:3ru02 61113 X?X1 :w 42ltW 门"3 4?-l:; 0“:3BIuY4<IUn”",):ZH :T 4*rjiATt1) Ii :XErf*0 r4XFanQ> 19 ZlnterfMtTTATSC1)20 urt<rf*c 4<M>1tCttwrrWtO 1X5 2P E。DOA 八31,STn( )f lj:TX Itrw protocol W 8 1fw lfrf*( VlAnIfII M -X th AT<p> & UrtrfM ViinitIJ Ml <vr4 im 9 1tM.X101r<4If .ST ATt I21N即4XFTATlh:2"54Xf-SlVOlTFMf4rTA<fXMUfW4¾OIW I gar<oco1!F 8 g 1rcrfM v1anlfll 21 rer“ th 8* tM. e VianIfD ha - irc 0M state.,Mh*turr<dKo DO ttAt.SStM.ir.TA<(n2i :E"x *irW ru 2Z E 9 <m.I Il-ITATl(I) 24】:IE",” G1Jb1llt4rr<0 112 22 IN。3 UM. wovt()(>: h Orlo ovi on imrr< Rf4m2toir u 6fm wv.tMwffrrr<1cebvfrercerf,Hm*4UtM'r>lIO4W*17J>r30WW1MrfMtrnon;0:0l.>.«.l.4.|.;ms.2S.1J.;.1.0r<U>1w>tf<"66.ITPl>2«<<yrvlCAUMt4-?)M.MVApS4vr1ty!<w>*B42.、,«WrntyWEHyiT*EQm'1:$/l*K1w*4i>m<ttwrrwtO.1z*M<cs1E"xSQ”mziO1IO9<CA<p<lor*.<Zsl>n-”X<h>tAtrmc1wrMb<tmtaHOQhM><W<<rtvr4l>MUll,,1F1<<h.<hh<mrthtIlK<.1et"a44*CB111F<<vff田r"”C0tff4<0Xrtd.RWuHnotobYAA<W<oN8,。1br<t,*tfydfc<>r,z"Mtln9outofrMhngfroSmUlIQeF31Bor<hnrc-tMtfAmceUr.>9v3>P14;X>l½nOJQw1d*>yR>MM<<rflOO!O>.I.1.4.1.2011.S.71.A2.2.1.0*<<C*1*4u1ea(*<1B.WF<J9tCetftf.(<r<Uy<tvy>C4U>,1HO.tYrApW¼elty*elC>ul)1<19Z.t>MTr<<etty9.E*fyid<EQm,X29Tl.r<W<CAlAW<CQtt<tbrfwtO,1>.1tQ-e*M<<3lE",XKl94tCh*HtOI*1。'wlCptl8.tKa>be血”,“Matr>m(«1v«rMsb*<r<mta11ed<NKHF<rt1febWU><,ft-5K<.mlc«w<murthatit>coa91tt3t,<c;c.«.r1»contlf*4toteV3W.0,11fW4bl<*tMtROVig><jport<r«wtfy<¼e<<S83“,MH1r48,OrarrMltsIMUlItFg,5UJ,).tX:)V>I>20X7X4:2T:t>«n0;<)v1MyM)WU<<r00X0XL.1.3.1.08STS1”.>LF1460du1*FS8.a,”notC“,"SY(CUTH,JXXd>.:.<«¥*1KM1¼12.B3rra<EYyp<9<n<WyiioUorxAidX-67XJW<1.Cf<Ww1clMMKGiC3frtTttMrrwtO11.“",eetr<3iM"faCXCtg一:一一,*w.<>2t2,been4”“Bthat*crm<UerhM<m<aHedtM<1»notcrtifdbymuj*1<ifs*lc.Zllc*v>gcfs.thatitnCrltt%(MptareHwc*ws.any4bxIlC4r<1u44tobeMS*.M*eiHRoCo6Haf4tRvldIwpoortt4oeydtc<torf>w1ts«rttlngoutofrrMl<tnfrImt41n<arl5js::1<,0v=>v1?Ml>3,a”MHIMvtt10c0101.1.1.4.1.Ml.H1ITt.2.1.OMtcaIoouUC"f8.“IinotCrtlf14.hd*a>v.AaSvVraWrtty"1”!”X>“9ETyM.ERy%t<KKfQne<HIi:*.mM<C4*M4<<4tt<ct*wrwtO.aU<r<<M<CIMrfm<Mft,ME,I15“一Mwl<<*<1«r.,t2anc4>r.4ttuttrm<ktfrXbwrimv>)ldt2tUret<rt1ftdghutee(QIz>Uc.*w1<rrat*rthatU1»c0B*ftvAdJAtK«Z«111rotca