2020网络E1POS故障排查.docx
ElPOS故障排查一、开始EIPoS问题故障现象多表现为,刷卡失败率高,冲正率高,POS机侧交易超时等,此类问题多与线路质量相关,定位故障的思路是:首先查板卡硬件,之后排查线路质量,最后检查业务交易报文。1板卡硬件排查通过命令查看接口连接状态,及接口时隙下错包,判断线路质量及板卡是否有问题。板卡接口在存在交易时候接口无法UP,则可能为板卡硬件问题;接口存在大量错误报文则与线路及板卡硬件相关,需进一步排查。命令:displayposastatusterminaldisplayinterfacefeminterface-number例如:查看接口连接状态UP,及对应时隙下无错包。H3CdisplayposastatusterminalTernJiRalIDTypeInterfacel.ist*rJrr*>>c1FOIFo6/0:15.0Up31FC三Fcid80:15.0-UpH3CdisplayinterfaceFCIn5/0:15.OFcm5/0:15.0currentstate:DOWN1.ineprotocolcurrentstate:DOWNDescription:FClri5/0:15.OInterfaceTheMaXiIrUnlTransmitUnitis1500,Holdtimeris10(sec)Internetprotocolprocessing:disabled1.astclearingofcounters:10:28:40Fri04/26/20131.ast300secondsinputrate0.00bytes/sec,0.00packets/secLast300secondsoutputrate0.00bytes/sec,0.00packets/secInput:0packets#0bytes0broadcasts,0ulticasts0errors,0runts,0giants1CRC,0alignerrors,0overruns0dribbles,0aborts,0nobuffers0frameerrorsOutput:0packets,0bytes0errors,0underruns,0collisions0deferred2 .线路质量检测ElPOS板卡要求运营商线路使用无损编解码方式,推荐使用TDM交换,使用G.711无损编码,使用G723,G729等有损编码容易造成交易失败,对于线路质量可通过命令查看接口时隙报文统计与电话拨打测试方式排查。命令:displayposastatisticsterminal例如:显示POS接口和应用收到和发送了正确的报文,没有错误的报文,表明业务正常。H3CdisplayposastatisticsterminalInDiScardedUutLis.ir.lTriiijl1LRuiwSendPktErrMapErr11100002110000将POS机更换为电话,拨打接入号码,要求在10秒内可听到清晰的Modem音。3 .线路排查通过拨打电话方式测试,要求在10秒内可听到清晰的MOdem音,也可以抓取单板侧PCM报文确认。4 .业务报文测试路由器收不到POS机发送的报文,可以通过如下方式排查,设备开启debuggingposaall开关,PoS侧进行交易,查看debug信息中是否有接口的POS交易报文,或根据主叫号码抓取POS业务交易报文。命令:debuggingposaall例如:FCnlIO/0:15.8对应terminal9的报文交互过程如下。%Jlay415:57:29:2122012H3CIFNET/3/1JNKJJPDOWN:Fcml0/0:15.8linkstatusisUP./<嫡呼叫,接口UPMay415:57:29:2122012H3CPOSA7EVENT:Tenoinal9:ReceivedIOCtrl(1)messagefromline(505)Object-Type(I)Index(51364a)If-Type(81*Kay415:57:29:2122012H3CP0SA7EVEh11,:Terminal9:Receivedlineupmessage.May415:57:29:2122012H3CPOSA/7/EVENT:Terminal9:GetFCiteradnalcalIer-ID:5575113获取主叫号码*1Uy415:57:31:7052012H3CPOSA/7/EVENT:Receiveddatafrominterface(5322314).*1Iay415:57:31:7052012H3CPOSA7PACKET:Rrccivcd196bytesfrafenterndnal9./lPOS机发来的报文ID(0x60)DST(0x0100)SRC(6x0000)Totallength:196Offset:0,partialdataasfollows:0x000:600100000001000030353835303137340x010:0000000000000000ab02002010201204*1Iay415:57:31:7052012H3CPOSA/7/EVENT:Terroinal9:Receivedlinedatamessage.*Kay415:57:31:7052012H3CPOSA/7/PACKET:Sent231bytestoapplicatin1.发送给前直机PktLen(OxOOeB)ID(0x60)DST(0x0100)SRC(0x0009)Totallength:231Offset:0,partialdataasfollows:0x000:00e560010000094c524900Ic000000000x010: 05 57 51 13 00 0000000000000000000000Kay415:57:34:7522012H3CP0SA7EVEW:App1:ReceivedASYN_READmessagefromsocket(1).Tay415:57:34:7522012H3CPoSA"/PACKET:Received269bytesfro*tc>application1./到前置机的回应报文PktLen(OxOlOb)ID(0x60)ST(0x0009)SRC(0x0100)Totallength:269Offset:0,partialdataasfollows:0x000:01Ob60000901000100233535373531310x010:33202020202020202000f20200383031*ltay415:57:34:7522012H3CPOSA/7/PACKET:Sent267bytestofterminal9.发送给POS机ID(0x60)DST(OXOooo5SRC(0x0100)Totallength:267Offset:0,partialdataasfollows:0x000:600000010001002335353735313133200x010:2020202020202000f202003830313831