发布时间 : 星期三 文章7360FXGPON - CLI - 简明排障手册(Ed1.1)更新完毕开始阅读0992f49cb14e852458fb578c
database count : 1
9、CLI方式收集error record
leg:isadmin># debug-command error-info nt-a error-queue
************* ERROR RECORD ************* time : 05/01/70 03:13:34.488920 seq-number : 0000001e error task : XBNT-#000000b2 error type : 10003
error class : ERR_CLASS_NOTIFY_ONLY
user name : EQPT
build name : NECMAA44.439
file name : src/EqptLib/nt/Linearization.cpp line number : 295
error info : The XBNT task is using an unplanned slot 0x1103 in scope 0. Please examine call stack and fix violating module Call stack :
ip[00] : 0x02be18cc ip[01] : 0x031e0124 ip[02] : 0x031d8418 ip[03] : 0x03cb88f4 ip[04] : 0x03cb3508 ip[05] : 0x031de6c4 ip[06] : 0x043205e4
****************** END *****************
leg:isadmin># debug-command error-info nt-a printcab
==================================================================================================== error-info table (detailed)
====================================================================================================
---- Target time ----
Local time : 121:02:01.456161
Network time : 06/01/70 01:12:43.456162
xtm_gettime : 435721450 ms
----------------------- First error record ----------------------- seq-number : 00000002
error task : EQPT-#00000042 error type : 10010
error class : ERR_CLASS_COLD_RESET
user name : EQPT
build name : NECMAA44.439
file name : src/EqptCoreNt/app/timers/NtRestartDelayTimer.cc line number : 148
error info : Restart of NT Call stack :
ip[00] : 0x02ae7af8 ip[01] : 0x02ae6514 ip[02] : 0x03c826d0 ip[03] : 0x03c823cc ip[04] : 0x03c81fb0 ip[05] : 0x03c75abc
****************** END ******************
leg:isadmin># debug-command error-info nt-a statistics
==================================================================================================== error-info table (detailed)
====================================================================================================
---- Target time ----
Local time : 121:03:31.846307
Network time : 06/01/70 01:14:13.846309
xtm_gettime : 435811840 ms
---- Error statistics ----
Last Reset Reason : COLD_RESET -------------------------------------
ERR_CLASS_NOTIFY_ONLY = 0000001d ERR_CLASS_RECOV = 00000000 ERR_CLASS_NON_RECOV = 00000000 ERR_CLASS_HW_ERROR = 00000000 ERR_CLASS_SW_CORRUPT = 00000000 ERR_CLASS_FILE_CORRUPT = 00000000 ERR_CLASS_STACK_CORRUPT = 00000000 ERR_CLASS_SW_WDOG_EXP = 00000000 ERR_CLASS_HOT_RESET = 00000000
========================================================= leg:isadmin># debug-command error-info nt-a last-unrecoverable
==================================================================================================== error-info table (detailed)
====================================================================================================
---- Target time ----
Local time : 121:04:27.678894
Network time : 06/01/70 01:15:09.678896
xtm_gettime : 435867670 ms
---- Last unrecoverable error ----
****** FIRST UNRECOV. ERROR RECORD ** *** seq-number : 00000002
error task : EQPT-#00000042 error type : 10010
error class : ERR_CLASS_COLD_RESET
user name : EQPT
build name : NECMAA44.439
file name : src/EqptCoreNt/app/timers/NtRestartDelayTimer.cc line number : 148
error info : Restart of NT Call stack :
ip[00] : 0x02ae7af8 ip[01] : 0x02ae6514 ip[02] : 0x03c826d0 ip[03] : 0x03c823cc ip[04] : 0x03c81fb0 ip[05] : 0x03c75abc ip[06] : 0x03c89a94 ip[07] : 0x03c8aa88 ip[08] : 0x03c8a9fc
****************** END ******************
其他板卡也可用类似命令收集
leg:isadmin># debug-command error-info lt:<...> ! lt-slot nt-a ! nt-a slot nt-b ! nt-b slot
ext-a:<...> ! nt-a slot in an extension shelf ext-b:<...> ! nt-b slot in an extension shelf acu:<...> ! acu slot
ntio-1 ! an nt applique slot in a single or multiple-ntio-shelf
4.3 PON 状态
1、检查PON状态
typ:isadmin># show interface port pon:1/1/3/1 detail
========================================================= port table (detailed)
========================================================= -------------------------------------------------------------------------------- port
--------------------------------------------------------------------------------
port : pon:1/1/3/1 if-index : 161480704
info : \ type : pon
largest-pkt-size : 0 current-bandwidth : 1244000000 phy-addr :
admin-status : up opr-status : up last-chg-opr-stat : 000-00:25:41 in-octets : 0 in-ucast-pkts : 0 in-discard-pkts : 0 in-err-pkts : 0 pkts-unknown-proto : 0 out-octets : 0 out-err-pkts : 0 name : \
high-speed : 0 connector-present : not-applicable media : 0.0
2、检查PON SFP光功率和温度
typ:isadmin># show pon optics 1/1/3/1
============================================================ optics table
============================================================ pon-idx |olt-tx-signal-lvl|olt-temperature |olt-voltage |olt-laser-curr --------+-----------------+----------------+----------------+------------------- 1/1/3/1 3.300000 30.360001 3.320000 12 -------------------------------------------------------------------------------- optics count : 1
3、检查 SFP 类型
typ:isadmin># show pon sfp-inventory 1/1/3/1
============================================================ sfp-inventory table
============================================================ pon-idx |sfp-vendor |part-num |serial-num |mfg-date |otdr --------+-----------------+---------------+-----------------+--------------+----
1/1/3/1 \-------------------------------------------------------------------------------- sfp-inventory count : 1
typ:isadmin>#show equipment transceiver-inventory
================================================================================
transceiver-inventory table
================================================================================
index |inventory-status |alu-part-num |tx-wavelength |fiber-type ------------------+------------------+-------------+--------------+-------------
nt-a:xfp:1 cage-empty not-available not-available not-available nt-a:xfp:2 cage-empty not-available not-available not-available