yu335@sohu.com 发表于 2018-1-4 19:39
不知道是不是这个命令:
JXSW1101#show platform cpu rx counters
Number of packets received in CPU ...
那就不知道了!我show出来的是这样的:
4#ldz1-c2960#show controllers cpu-interface
ASIC Rxbiterr Rxunder Fwdctfix Txbuflos Rxbufloc Rxbufdrain
-------------------------------------------------------------------------
ASIC0 0 0 0 0 0 0
ASIC1 0 0 0 0 0 0
cpu-queue-frames retrieved dropped invalid hol-block stray
----------------- ---------- ---------- ---------- ---------- ----------
rpc 0 0 0 0 0
stp 1400433 0 0 0 0
ipc 0 0 0 0 0
routing protocol 536092 0 0 0 0
L2 protocol 18979 0 0 0 0
remote console 0 0 0 0 0
sw forwarding 10120 0 0 0 0
host 4156 0 0 0 0
broadcast 74000 0 0 0 0
cbt-to-spt 0 0 0 0 0
igmp snooping 51256 0 0 0 0
icmp 0 0 0 0 0
logging 0 0 0 0 0
rpf-fail 0 0 0 0 0
dstats 0 0 0 0 0
cpu heartbeat 1735895 0 0 0 0
Supervisor ASIC receive-queue parameters
----------------------------------------
queue 0 maxrecevsize 0 pakhead 0 paktail 0
queue 1 maxrecevsize 7E0 pakhead 211F154 paktail 30BC96C
queue 2 maxrecevsize 0 pakhead 0 paktail 0
queue 3 maxrecevsize 7E0 pakhead 21AA744 paktail 31196D8
queue 4 maxrecevsize 7E0 pakhead 3FACE0C paktail 30C9C88
queue 5 maxrecevsize 0 pakhead 0 paktail 0
queue 6 maxrecevsize 7E0 pakhead 3112314 paktail 21A2A08
queue 7 maxrecevsize 7E0 pakhead 3E6AEA0 paktail 312422C
queue 8 maxrecevsize 7E0 pakhead 31265F4 paktail 21BF8F4
queue 9 maxrecevsize 0 pakhead 0 paktail 0
queue A maxrecevsize 7E0 pakhead 21489A4 paktail 2148610
queue B maxrecevsize 7E0 pakhead 311A528 paktail 21AB344
queue C maxrecevsize 7E0 pakhead 214A8B0 paktail 30EEF78
queue D maxrecevsize 0 pakhead 0 paktail 0
queue E maxrecevsize 0 pakhead 0 paktail 0
queue F maxrecevsize 7E0 pakhead 2143A50 paktail 30E7CE4
Supervisor ASIC exception status
--------------------------------
Receive overrun 00000000 Transmit overrun 00000000
FrameSignatureErr 00000000 MicInitialize 00000000
BadFrameErr 00000000 LenExceededErr 00000000
BadJumboSegments 00000000
Supervisor ASIC Mic Registers
------------------------------
MicDirectPollInfo 80000200
MicIndicationsReceived 00000000
MicInterruptsReceived 00000000
MicPcsInfo 0000001F
MicPlbMasterConfiguration 00000000
MicRxFifosAvailable 00000000
MicRxFifosReady 00009DDA
MicTimeOutPeriod: FrameTOPeriod: 00000EA6 DirectTOPeriod: 00004000
MicTransmFramesCopied 00000003
MicTxFifosAvailable 00000003
MicConfiguration: Conf flag: 00000110 Interrupt Flag: 0000000A
MicReceiveFifoAssignmen Queue 0 - 7: 00000000 Queue 8 - 15:00000000
MicReceiveFramesReady: FrameAvailable: 00000000 frameAvaiMask: 00000000
MicException:
Exception_flag 00000000
Message-1 00000000
Message-2 00000000
Message-3 00000000
MicIntRxFifo:
ReadPtr 00000E68 WritePtr 00000E68
WHeadPtr 00000E68 TxFifoDepth C0000800
MicIntTxFifo:
ReadPtr 000006F8 WritePtr 000006F8
WHeadPtr 000006F8 TxFifoDepth C0000800
MicDecodeInfo:
Fifo0: address: 03FF4000 asic_num: 00000100
Fifo1: address: 03FF4400 asic_num: 00000101
MicTransmitFifoInfo:
Fifo0: StartPtrs: 02C89800 ReadPtr: 02C89A90
WritePtrs: 02C89A90 Fifo_Flag: 8A800800
Weights: 001E001E
Fifo1: StartPtrs: 02C9C000 ReadPtr: 02C9C360
WritePtrs: 02C9C360 Fifo_Flag: 89800400
Weights: 000A000A
MicReceiveFifoInfo:
Fifo0: StartPtr: 00000000 ReadPtr: 00000000
WritePtrs: 00000000 Fifo_Flag: 00800000
writeHeaderPtr: 00000000
Fifo1: StartPtr: 02C9D800 ReadPtr: 02C9DB88
WritePtrs: 02C9DB88 Fifo_Flag: 89800400
writeHeaderPtr: 02C9DB88
Fifo2: StartPtr: 00000000 ReadPtr: 00000000
WritePtrs: 00000000 Fifo_Flag: 00800000
writeHeaderPtr: 00000000
Fifo3: StartPtr: 02D1C680 ReadPtr: 02D1C6E0
WritePtrs: 02D1C6E0 Fifo_Flag: 86800080
writeHeaderPtr: 02D1C6E0
Fifo4: StartPtr: 02CE4E00 ReadPtr: 02CE4F18
WritePtrs: 02CE4F18 Fifo_Flag: 88800200
writeHeaderPtr: 02CE4F18
Fifo5: StartPtr: 00000000 ReadPtr: 00000000
WritePtrs: 00000000 Fifo_Flag: 00800000
writeHeaderPtr: 00000000
Fifo6: StartPtr: 02D1C800 ReadPtr: 02D1C840
WritePtrs: 02D1C840 Fifo_Flag: 88800200
writeHeaderPtr: 02D1C840
Fifo7: StartPtr: 02D4B600 ReadPtr: 02D4B7E0
WritePtrs: 02D4B7E0 Fifo_Flag: 88800200
writeHeaderPtr: 02D4B7E0
Fifo8: StartPtr: 02D80900 ReadPtr: 02D80980
WritePtrs: 02D80980 Fifo_Flag: 87800100
writeHeaderPtr: 02D80980
Fifo9: StartPtr: 00000000 ReadPtr: 00000000
WritePtrs: 00000000 Fifo_Flag: 00800000
writeHeaderPtr: 00000000
Fifo10: StartPtr: 02C9BD80 ReadPtr: 02C9BDC0
WritePtrs: 02C9BDC0 Fifo_Flag: 86800080
writeHeaderPtr: 02C9BDC0
Fifo11: StartPtr: 02C9BD20 ReadPtr: 02C9BD20
WritePtrs: 02C9BD20 Fifo_Flag: 84800020
writeHeaderPtr: 02C9BD20
Fifo12: StartPtr: 02C9BE80 ReadPtr: 02C9BE80
WritePtrs: 02C9BE80 Fifo_Flag: 86800080
writeHeaderPtr: 02C9BE80
Fifo13: StartPtr: 00000000 ReadPtr: 00000000
WritePtrs: 00000000 Fifo_Flag: 00800000
writeHeaderPtr: 00000000
Fifo14: StartPtr: 00000000 ReadPtr: 00000000
WritePtrs: 00000000 Fifo_Flag: 00800000
writeHeaderPtr: 00000000
Fifo15: StartPtr: 02C896C0 ReadPtr: 02C896D8
WritePtrs: 02C896D8 Fifo_Flag: 84800020
writeHeaderPtr: 02C896D8
===========================================================
Complete Board Id:0x0051
===========================================================
4#ldz1-c2960#