diagnose npu
Network Processing Unit
This topic includes the following commands:
- diagnose npu np6
- diagnose npu np6 anomaly-drop
- diagnose npu np6 anomaly-drop-all
- diagnose npu np6 cwp-frame-chk-act
- diagnose npu np6 dce
- diagnose npu np6 dce-all
- diagnose npu np6 debug-console
- diagnose npu np6 eeprom-read
- diagnose npu np6 fastpath
- diagnose npu np6 fastpath disable
- diagnose npu np6 fastpath enable
- diagnose npu np6 gige-port-stats
- diagnose npu np6 gige-port-stats-clear
- diagnose npu np6 gmac-stats
- diagnose npu np6 gmac-stats-clear
- diagnose npu np6 hardware-cap
- diagnose npu np6 hpe
- diagnose npu np6 hrx-drop
- diagnose npu np6 hrx-drop-all
- diagnose npu np6 ipsec-stats
- diagnose npu np6 ipsec-stats-clear
- diagnose npu np6 monitor-hpe
- diagnose npu np6 monitor-hpe disable
- diagnose npu np6 monitor-hpe enable
- diagnose npu np6 npu-feature
- diagnose npu np6 pdq
- diagnose npu np6 port-list
- diagnose npu np6 portmod
- diagnose npu np6 register
- diagnose npu np6 session-stats
- diagnose npu np6 session-stats-clear
- diagnose npu np6 show-cwp-undersize-act
- diagnose npu np6 sse-drift-summary
- diagnose npu np6 sse-latch-debug
- diagnose npu np6 sse-purge-drift
- diagnose npu np6 sse-register
- diagnose npu np6 sse-stats
- diagnose npu np6 sse-stats-clear
- diagnose npu np6 xgmac-stats
- diagnose npu np6 xgmac-stats-clear
- diagnose npu np6lite
- diagnose npu np6lite anomaly-drop
- diagnose npu np6lite dce
- diagnose npu np6lite fastpath
- diagnose npu np6lite fastpath disable
- diagnose npu np6lite fastpath enable
- diagnose npu np6lite npu-feature
- diagnose npu np6lite port-list
- diagnose npu np6lite register
- diagnose npu np6lite session
- diagnose npu np6lite session-stats
- diagnose npu np6lite sse-stats
- diagnose npu np6xlite
- diagnose npu np6xlite anomaly-drop
- diagnose npu np6xlite dce
- diagnose npu np6xlite fastpath
- diagnose npu np6xlite fastpath disable
- diagnose npu np6xlite fastpath enable
- diagnose npu np6xlite hpe
- diagnose npu np6xlite ipsec-fragment
- diagnose npu np6xlite ipsec-fragment inner
- diagnose npu np6xlite ipsec-fragment outer
- diagnose npu np6xlite ipsec-sa
- diagnose npu np6xlite ipsec-sa ib
- diagnose npu np6xlite ipsec-sa ob
- diagnose npu np6xlite monitor-hpe
- diagnose npu np6xlite monitor-hpe disable
- diagnose npu np6xlite monitor-hpe enable
- diagnose npu np6xlite mse-dump
- diagnose npu np6xlite mse-dump all
- diagnose npu np6xlite mse-dump summary
- diagnose npu np6xlite mse-dump valid
- diagnose npu np6xlite npu-feature
- diagnose npu np6xlite port-list
- diagnose npu np6xlite register
- diagnose npu np6xlite session-dump
- diagnose npu np6xlite session-stats
- diagnose npu np6xlite sse-stats
- diagnose npu np7
- diagnose npu np7 cgmac-stats
- diagnose npu np7 cmd
- diagnose npu np7 cmd all
- diagnose npu np7 cmd dse
- diagnose npu np7 cmd lpm-rlt
- diagnose npu np7 cmd measure-rate
- diagnose npu np7 cmd mse
- diagnose npu np7 cmd rate
- diagnose npu np7 cmd sse
- diagnose npu np7 dce-dfr-drop
- diagnose npu np7 dce-drop-all
- diagnose npu np7 dce-eif-drop
- diagnose npu np7 dce-hif-drop
- diagnose npu np7 dce-htx-drop
- diagnose npu np7 dce-ipsec-drop
- diagnose npu np7 dce-ipti-drop
- diagnose npu np7 dce-l2p-drop
- diagnose npu np7 dce-l2ti-drop
- diagnose npu np7 dce-mse-drop
- diagnose npu np7 dce-ple-drop
- diagnose npu np7 dce-sse-drop
- diagnose npu np7 dce-xhp-drop
- diagnose npu np7 ddr-access
- diagnose npu np7 ddr-access disable
- diagnose npu np7 ddr-access enable
- diagnose npu np7 ddr-info
- diagnose npu np7 ddr-param-clear
- diagnose npu np7 ddr-param-set
- diagnose npu np7 ddr-phy-reg
- diagnose npu np7 ddr-test
- diagnose npu np7 dsw-drop-all
- diagnose npu np7 dsw-drop-by-dst
- diagnose npu np7 dsw-drop-by-src
- diagnose npu np7 dsw-egress-stats
- diagnose npu np7 dsw-ingress-stats
- diagnose npu np7 dvlan-mode
- diagnose npu np7 dvlan-mode 802.1AD
- diagnose npu np7 dvlan-mode 802.1Q
- diagnose npu np7 dvlan-mode Disable
- diagnose npu np7 dvlan-mode-list
- diagnose npu np7 getreg
- diagnose npu np7 hif-stats
- diagnose npu np7 hpe
- diagnose npu np7 info
- diagnose npu np7 init-params
- diagnose npu np7 intf-clear-err
- diagnose npu np7 intf-clear-stats
- diagnose npu np7 ipl
- diagnose npu np7 ipsec-sa
- diagnose npu np7 ipsec-stat
- diagnose npu np7 listreg
- diagnose npu np7 listtbl
- diagnose npu np7 mas
- diagnose npu np7 mdbg
- diagnose npu np7 monitor-hpe
- diagnose npu np7 monitor-hpe disable
- diagnose npu np7 monitor-hpe enable
- diagnose npu np7 msg
- diagnose npu np7 msg htab-rate
- diagnose npu np7 msg htab-stats
- diagnose npu np7 msg ipsec-rate
- diagnose npu np7 msg ipsec-stats
- diagnose npu np7 msg ipt-rate
- diagnose npu np7 msg ipt-stats
- diagnose npu np7 msg log
- diagnose npu np7 msg log-filter
- diagnose npu np7 msg measure-rate
- diagnose npu np7 msg mse-rate
- diagnose npu np7 msg mse-stats
- diagnose npu np7 msg msg-by-code
- diagnose npu np7 msg msg-by-cpu
- diagnose npu np7 msg msg-by-mod
- diagnose npu np7 msg msg-by-que
- diagnose npu np7 msg spath-rate
- diagnose npu np7 msg spath-stats
- diagnose npu np7 msg sse-rate
- diagnose npu np7 msg sse-stats
- diagnose npu np7 msg summary
- diagnose npu np7 msg tpe-tce-rate
- diagnose npu np7 msg tpe-tce-stats
- diagnose npu np7 msgq
- diagnose npu np7 mswm
- diagnose npu np7 mswm module-to-mswh
- diagnose npu np7 mswm module-to-mswm
- diagnose npu np7 mswm mswh-all
- diagnose npu np7 mswm mswh-to-hrx
- diagnose npu np7 mswm mswm-all
- diagnose npu np7 mswm mswm-to-module
- diagnose npu np7 np-port
- diagnose npu np7 pba
- diagnose npu np7 pdq
- diagnose npu np7 phy-status
- diagnose npu np7 pmon
- diagnose npu np7 port-list
- diagnose npu np7 readtbl
- diagnose npu np7 serdes
- diagnose npu np7 serdes linkscan
- diagnose npu np7 serdes linkscan disable
- diagnose npu np7 serdes linkscan enable
- diagnose npu np7 serdes pma_eye_diagram
- diagnose npu np7 serdes pma_register
- diagnose npu np7 serdes pma_register read
- diagnose npu np7 serdes pma_register write
- diagnose npu np7 session-offload-stats
- diagnose npu np7 setreg
- diagnose npu np7 show-dsw-dts-profile
- diagnose npu np7 show-dsw-qtbl
- diagnose npu np7 sse-stats
- diagnose npu np7 sse-tpe-accounting
- diagnose npu np7 sw-np-que
- diagnose npu np7 system-config
- diagnose npu np7 trng-freqency
- diagnose npu np7 trng-read
- diagnose npu np7 vep-mode
- diagnose npu np7 vlan-accounting
- diagnose npu np7lite
- diagnose npu np7lite dce-drop-all
- diagnose npu np7lite dce-dsw-drop
- diagnose npu np7lite dce-eng-drop
- diagnose npu np7lite dce-eng-stats
- diagnose npu np7lite dce-hif-drop
- diagnose npu np7lite dce-ihp-drop
- diagnose npu np7lite dce-l2p-drop
- diagnose npu np7lite dce-msw-stats
- diagnose npu np7lite debug-serial-console-output
- diagnose npu np7lite debug-ssh-telnet-output
- diagnose npu np7lite dsw-buf-stats
- diagnose npu np7lite dsw-qtbl-stats
- diagnose npu np7lite dvlan-mode
- diagnose npu np7lite dvlan-mode 802.1AD
- diagnose npu np7lite dvlan-mode 802.1Q
- diagnose npu np7lite dvlan-mode-list
- diagnose npu np7lite eth-eye-surf
- diagnose npu np7lite getreg
- diagnose npu np7lite hif-stats
- diagnose npu np7lite hpe
- diagnose npu np7lite info
- diagnose npu np7lite init-params
- diagnose npu np7lite ipl
- diagnose npu np7lite linkscan
- diagnose npu np7lite listreg
- diagnose npu np7lite listtbl
- diagnose npu np7lite log-clean
- diagnose npu np7lite mac-mibs
- diagnose npu np7lite mas
- diagnose npu np7lite mii-debug
- diagnose npu np7lite mii-rw
- diagnose npu np7lite monitor-hpe
- diagnose npu np7lite monitor-hpe disable
- diagnose npu np7lite monitor-hpe enable
- diagnose npu np7lite msg
- diagnose npu np7lite p2a
- diagnose npu np7lite pba
- diagnose npu np7lite pcie-eye-surf
- diagnose npu np7lite phy-init
- diagnose npu np7lite phy-status
- diagnose npu np7lite phy0
- diagnose npu np7lite pmon
- diagnose npu np7lite pmon-s
- diagnose npu np7lite port-list
- diagnose npu np7lite prng-read
- diagnose npu np7lite prng_reseed
- diagnose npu np7lite readtbl
- diagnose npu np7lite reg-read-counter
- diagnose npu np7lite reg-write-counter
- diagnose npu np7lite serdes-init
- diagnose npu np7lite serdes-mode
- diagnose npu np7lite serdes-reg
- diagnose npu np7lite serdes-status
- diagnose npu np7lite setreg
- diagnose npu np7lite show-dsw-dts-profile
- diagnose npu np7lite sse-stats
- diagnose npu np7lite sse-tpe-accounting
- diagnose npu np7lite system-config
- diagnose npu np7lite trng-buffer-check
- diagnose npu np7lite trng-file-dump
- diagnose npu np7lite trng-read
- diagnose npu np7lite trng-romap
- diagnose npu nturbo
- diagnose npu nturbo driver
- diagnose npu sniffer
- diagnose npu sniffer filter
- diagnose npu sniffer filter clear
- diagnose npu sniffer filter dir
- diagnose npu sniffer filter dport
- diagnose npu sniffer filter dstip
- diagnose npu sniffer filter dstip6
- diagnose npu sniffer filter ethtype
- diagnose npu sniffer filter intf
- diagnose npu sniffer filter ip
- diagnose npu sniffer filter ip6
- diagnose npu sniffer filter outgoing_intf
- diagnose npu sniffer filter outgoing_vlan
- diagnose npu sniffer filter port
- diagnose npu sniffer filter protocol
- diagnose npu sniffer filter selector
- diagnose npu sniffer filter sport
- diagnose npu sniffer filter srcip
- diagnose npu sniffer filter srcip6
- diagnose npu sniffer start
- diagnose npu sniffer stop
diagnose npu np6
Network Processor version 6
diagnose npu np6
diagnose npu np6 anomaly-drop
Show non-zero L3/L4 anomaly check drop counters.
diagnose npu np6 anomaly-drop <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 anomaly-drop-all
Show all L3/L4 anomaly check drop counters.
diagnose npu np6 anomaly-drop-all <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 cwp-frame-chk-act
Set CAPWAP frame check actions.
diagnose npu np6 cwp-frame-chk-act <ether-II-act> <802.3-act> <frame-len-error-act>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<ether-II-act> |
Action for undersize Ethernet II frames, {drop | trap-to-host} |
string |
|
|
<802.3-act> |
Action for undersize 802.3 frames, {drop | trap-to-host} |
string |
|
|
<frame-len-error-act> |
Action for 802.3 frame length error, {drop | trap-to-host} |
string |
|
diagnose npu np6 dce
Show non-zero subengine drop counters.
diagnose npu np6 dce <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 dce-all
Show all subengine drop counters.
diagnose npu np6 dce-all <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 debug-console
Access debug console
diagnose npu np6 debug-console
diagnose npu np6 eeprom-read
Read NP6 EEPROM
diagnose npu np6 eeprom-read <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 fastpath
Configure fastpath
diagnose npu np6 fastpath
diagnose npu np6 fastpath disable
Disable fastpath
diagnose npu np6 fastpath disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 fastpath enable
Enable fastpath
diagnose npu np6 fastpath enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 gige-port-stats
Show GIGE PORT MIBs counters
diagnose npu np6 gige-port-stats <intf_name>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf_name> |
NP6 GIGE Port Name |
string |
|
diagnose npu np6 gige-port-stats-clear
Clear GIGE PORT MIBs counters
diagnose npu np6 gige-port-stats-clear <intf_name>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf_name> |
NP6 GIGE Port Name |
string |
|
diagnose npu np6 gmac-stats
Show GMAC MIBs counters
diagnose npu np6 gmac-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 gmac-stats-clear
Clear GMAC MIBS counters
diagnose npu np6 gmac-stats-clear <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 hardware-cap
Show hardware capability defintions
diagnose npu np6 hardware-cap <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 hpe
Show HPE setting and host queue status counters.
diagnose npu np6 hpe <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 hrx-drop
Show non-zero host interface drop counters.
diagnose npu np6 hrx-drop <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 hrx-drop-all
Show all host interface drop counters.
diagnose npu np6 hrx-drop-all <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 ipsec-stats
Show IPsec offloading statistics
diagnose npu np6 ipsec-stats
diagnose npu np6 ipsec-stats-clear
Clear IPsec offloading statistics
diagnose npu np6 ipsec-stats-clear
diagnose npu np6 monitor-hpe
Monitor HPE setting and host queue status counters without packet dropping.
diagnose npu np6 monitor-hpe
diagnose npu np6 monitor-hpe disable
Disable HPE monitor
diagnose npu np6 monitor-hpe disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID. |
string |
|
diagnose npu np6 monitor-hpe enable
Enable HPE monitor
diagnose npu np6 monitor-hpe enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID. |
string |
|
diagnose npu np6 npu-feature
Show NPU feature and status
diagnose npu np6 npu-feature
diagnose npu np6 pdq
Show packet buffer queue counters
diagnose npu np6 pdq <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 port-list
Show port list
diagnose npu np6 port-list
diagnose npu np6 portmod
Show port group info.
diagnose npu np6 portmod
diagnose npu np6 register
Show NP6 registers
diagnose npu np6 register <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 session-stats
Show session offloading statistics counters
diagnose npu np6 session-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 session-stats-clear
Clear sesssion offloading statistics counters
diagnose npu np6 session-stats-clear <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 show-cwp-undersize-act
Show CAPWAP undersize frame check actions.
diagnose npu np6 show-cwp-undersize-act
diagnose npu np6 sse-drift-summary
Show SSE session drift summary.
diagnose npu np6 sse-drift-summary
diagnose npu np6 sse-latch-debug
Latch SSE debug
diagnose npu np6 sse-latch-debug <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 sse-purge-drift
Clean up idle sessions in SSE.
diagnose npu np6 sse-purge-drift <dev_id> <time>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
|
<time> |
Session purge time in seconds (5 - 300 secs, default = 300). |
string |
|
diagnose npu np6 sse-register
Show NP6 SSE registers
diagnose npu np6 sse-register <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 sse-stats
Show hardware session statistics counters
diagnose npu np6 sse-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 sse-stats-clear
Clear hardware session statistics counters
diagnose npu np6 sse-stats-clear <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 xgmac-stats
Show XGMAC MIBs counters
diagnose npu np6 xgmac-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6 xgmac-stats-clear
Clear XGMAC MIBS counters
diagnose npu np6 xgmac-stats-clear <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6 ID |
string |
|
diagnose npu np6lite
Network Processor version 6 Lite
diagnose npu np6lite
diagnose npu np6lite anomaly-drop
Show non-zero L3/L4 anomaly check drop counters.
diagnose npu np6lite anomaly-drop <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite dce
Show non-zero subengine drop counters.
diagnose npu np6lite dce <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite fastpath
Configure fastpath
diagnose npu np6lite fastpath
diagnose npu np6lite fastpath disable
Disable fastpath
diagnose npu np6lite fastpath disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite fastpath enable
Enable fastpath
diagnose npu np6lite fastpath enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite npu-feature
Show NPU feature and status.
diagnose npu np6lite npu-feature
diagnose npu np6lite port-list
Show port list
diagnose npu np6lite port-list
diagnose npu np6lite register
Show NP6LITE registers.
diagnose npu np6lite register <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite session
Dump hardware session
diagnose npu np6lite session <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite session-stats
Show session offloading statistics counters
diagnose npu np6lite session-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6lite sse-stats
Show hardware session statistics counters
diagnose npu np6lite sse-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6Lite ID |
string |
|
diagnose npu np6xlite
Network Processor version 6 XLite
diagnose npu np6xlite
diagnose npu np6xlite anomaly-drop
Show non-zero L3/L4 anomaly check drop counters.
diagnose npu np6xlite anomaly-drop <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite dce
Show non-zero subengine drop counters.
diagnose npu np6xlite dce <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite fastpath
Configure fastpath
diagnose npu np6xlite fastpath
diagnose npu np6xlite fastpath disable
Disable fastpath
diagnose npu np6xlite fastpath disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite fastpath enable
Enable fastpath
diagnose npu np6xlite fastpath enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite hpe
Show HPE setting and host queue status counters.
diagnose npu np6xlite hpe <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite ipsec-fragment
Configure ipsec fragmentation type.
diagnose npu np6xlite ipsec-fragment
diagnose npu np6xlite ipsec-fragment inner
fragment the inner packet first.
diagnose npu np6xlite ipsec-fragment inner <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite ipsec-fragment outer
fragment the outer packet first.
diagnose npu np6xlite ipsec-fragment outer <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite ipsec-sa
Dump IPSec SA
diagnose npu np6xlite ipsec-sa
diagnose npu np6xlite ipsec-sa ib
Dump IPSec IB SA
diagnose npu np6xlite ipsec-sa ib <tunnel_index>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<tunnel_index> |
tunnel index |
string |
|
diagnose npu np6xlite ipsec-sa ob
Dump IPSec OB SA
diagnose npu np6xlite ipsec-sa ob <tunnel_index>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<tunnel_index> |
tunnel index |
string |
|
diagnose npu np6xlite monitor-hpe
Monitor HPE setting and host queue status counters without packet dropping.
diagnose npu np6xlite monitor-hpe
diagnose npu np6xlite monitor-hpe disable
Disable HPE monitor
diagnose npu np6xlite monitor-hpe disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID. |
string |
|
diagnose npu np6xlite monitor-hpe enable
Enable HPE monitor
diagnose npu np6xlite monitor-hpe enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID. |
string |
|
diagnose npu np6xlite mse-dump
Dump MSE session
diagnose npu np6xlite mse-dump
diagnose npu np6xlite mse-dump all
Dump all MSE sessions
diagnose npu np6xlite mse-dump all <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite mse-dump summary
Dump MSE session summary
diagnose npu np6xlite mse-dump summary <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite mse-dump valid
Dump valid MSE sessions
diagnose npu np6xlite mse-dump valid <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite npu-feature
Show NPU feature and status.
diagnose npu np6xlite npu-feature
diagnose npu np6xlite port-list
Show port list
diagnose npu np6xlite port-list
diagnose npu np6xlite register
Show NP6XLITE registers.
diagnose npu np6xlite register <dev_id> <blocks>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
|
<blocks> |
Blocks' names separated by spaces. |
string |
|
diagnose npu np6xlite session-dump
Dump hardware session summary or session list
diagnose npu np6xlite session-dump <dev_id> <show_full_enty>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
|
<show_full_enty> |
0: not show full entry; 1, show full entry |
string |
|
diagnose npu np6xlite session-stats
Show session offloading statistics counters
diagnose npu np6xlite session-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np6xlite sse-stats
Show hardware session statistics counters
diagnose npu np6xlite sse-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP6XLite ID |
string |
|
diagnose npu np7
Network Processor version 7
diagnose npu np7
diagnose npu np7 cgmac-stats
Show/clear CGMAC MIBs counters.
diagnose npu np7 cgmac-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 cmd
Command counters
diagnose npu np7 cmd
diagnose npu np7 cmd all
Show/clear all command counters.
diagnose npu np7 cmd all <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 cmd dse
Show/clear DSE command counters.
diagnose npu np7 cmd dse <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 cmd lpm-rlt
Show/clear LPM/RLT command counters.
diagnose npu np7 cmd lpm-rlt <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 cmd measure-rate
Enable/disable command rate measurement.
diagnose npu np7 cmd measure-rate <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
Action {enable | disable} |
string |
|
diagnose npu np7 cmd mse
Show/clear MSE command counters.
diagnose npu np7 cmd mse <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 cmd rate
Show/clear command rate.
diagnose npu np7 cmd rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 cmd sse
Show/clear SSE command counters.
diagnose npu np7 cmd sse <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-dfr-drop
Show/clear DFR IHP drop counters.
diagnose npu np7 dce-dfr-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-drop-all
Show/clear all drop counters.
diagnose npu np7 dce-drop-all <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-eif-drop
Show/clear EIF IHP drop counters.
diagnose npu np7 dce-eif-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-hif-drop
Show/clear HIF drop counters.
diagnose npu np7 dce-hif-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-htx-drop
Show/clear HTX IHP drop counters.
diagnose npu np7 dce-htx-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-ipsec-drop
Show/clear IPSec drop counters.
diagnose npu np7 dce-ipsec-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-ipti-drop
Show/clear IPTI IHP drop counters.
diagnose npu np7 dce-ipti-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-l2p-drop
Show/clear L2P IHP drop counters.
diagnose npu np7 dce-l2p-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-l2ti-drop
Show/clear L2TI IHP drop counters.
diagnose npu np7 dce-l2ti-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-mse-drop
Show/clear MSE drop counters.
diagnose npu np7 dce-mse-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-ple-drop
Show/clear PLE drop counters.
diagnose npu np7 dce-ple-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-sse-drop
Show/clear SSE drop counters.
diagnose npu np7 dce-sse-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dce-xhp-drop
Show/clear XHP IHP drop counters.
diagnose npu np7 dce-xhp-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 ddr-access
Set DDR access of submodules.
diagnose npu np7 ddr-access
diagnose npu np7 ddr-access disable
Disable DDR access.
diagnose npu np7 ddr-access disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID. |
string |
|
diagnose npu np7 ddr-access enable
Enable DDR access.
diagnose npu np7 ddr-access enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7 ddr-info
Show DDR size and debug information.
diagnose npu np7 ddr-info <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID. |
string |
|
diagnose npu np7 ddr-param-clear
Clear customized DDR PHY parameters.
diagnose npu np7 ddr-param-clear
diagnose npu np7 ddr-param-set
Customize DDR PHY parameters.
diagnose npu np7 ddr-param-set <slew-rate> <ODI>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<slew-rate> |
slew-rate in hex. |
string |
|
|
<ODI> |
ODI in hex. |
string |
|
diagnose npu np7 ddr-phy-reg
Read DDR PHY registers.
diagnose npu np7 ddr-phy-reg <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7 ddr-test
Launch DDR memory testing.
diagnose npu np7 ddr-test <dev_id> <channel> <address> <size> <pattern-src> <pattern> <round>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID. |
string |
|
|
<channel> |
DDR Channel ID (0.5). |
string |
|
|
<address> |
Start address (in hex). |
string |
|
|
<size> |
Size of memory (in hex). |
string |
|
|
<pattern-src> |
Pattern source.(0: hardware,1: software) |
string |
|
|
<pattern> |
Pattern (0:walkone, 1: walkzero, 2:incremental, 3:random). |
string |
|
|
<round> |
Repeat round |
string |
|
diagnose npu np7 dsw-drop-all
Show/clear DSW drop counters.
diagnose npu np7 dsw-drop-all <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dsw-drop-by-dst
Show/clear DSW drop counters by destination modules.
diagnose npu np7 dsw-drop-by-dst <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dsw-drop-by-src
Show/clear DSW drop counters by source modules.
diagnose npu np7 dsw-drop-by-src <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dsw-egress-stats
Show/clear DSW egress counters.
diagnose npu np7 dsw-egress-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dsw-ingress-stats
Show/clear DSW ingress counters.
diagnose npu np7 dsw-ingress-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 dvlan-mode
Set DVLAN mode.
diagnose npu np7 dvlan-mode
diagnose npu np7 dvlan-mode 802.1AD
Set dvlan mode to 802.1AD
diagnose npu np7 dvlan-mode 802.1AD <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 dvlan-mode 802.1Q
Set dvlan mode to 802.1Q
diagnose npu np7 dvlan-mode 802.1Q <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 dvlan-mode Disable
Set dvlan mode to disable
diagnose npu np7 dvlan-mode Disable <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 dvlan-mode-list
list DVLAN mode info
diagnose npu np7 dvlan-mode-list
diagnose npu np7 getreg
Read NP7 registers.
diagnose npu np7 getreg <dev_id> <register name> <depth>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7 ID. |
string |
|
|
<register name> |
Register name ({all|<blk>.[sub-blk].[reg-name].[filed-name]}). |
string |
|
|
<depth> |
Read depth into register tree ({max|[1.10]}}, default 1). |
string |
|
diagnose npu np7 hif-stats
Show/clear host queue counters.
diagnose npu np7 hif-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 hpe
Show np7 hpe host queue packet type shaper status.
diagnose npu np7 hpe <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7 info
Show chip information.
diagnose npu np7 info
diagnose npu np7 init-params
Show driver initialization parameters.
diagnose npu np7 init-params
diagnose npu np7 intf-clear-err
Clear interface error counters.
diagnose npu np7 intf-clear-err <intf-name>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf-name> |
Interface name |
string |
|
diagnose npu np7 intf-clear-stats
Clear interface statistics counters.
diagnose npu np7 intf-clear-stats <intf-name>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<intf-name> |
Interface name |
string |
|
diagnose npu np7 ipl
ipl cmds
diagnose npu np7 ipl
diagnose npu np7 ipsec-sa
NP7 IPSec SAs.
diagnose npu np7 ipsec-sa
diagnose npu np7 ipsec-stat
NP7 IPSec stats.
diagnose npu np7 ipsec-stat
diagnose npu np7 listreg
List NP7 registers.
diagnose npu np7 listreg <register name> <depth>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<register name> |
Register name ({all|<blk>.[<sub-blk>].[<reg-name>].[<field-name>]}). |
string |
|
|
<depth> |
List depth into register tree ({max|[1.10]}}, default 1). |
string |
|
diagnose npu np7 listtbl
List NP7 configuration tables.
diagnose npu np7 listtbl <table type>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<table type> |
Table type ({all|linear|hash|hhash}). |
string |
|
diagnose npu np7 mas
Show DDR memory access module (MAS) information.
diagnose npu np7 mas <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 mdbg
DDR memory debug tool.
diagnose npu np7 mdbg <command> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg> <arg>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<command> |
mdbg command {read|write|test} or --help. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
|
<arg> |
command args. |
string |
|
diagnose npu np7 monitor-hpe
Monitor HPE setting and host queue status counters without packet dropping.
diagnose npu np7 monitor-hpe
diagnose npu np7 monitor-hpe disable
Disable monitor hpe
diagnose npu np7 monitor-hpe disable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7 monitor-hpe enable
Enable monitor hpe
diagnose npu np7 monitor-hpe enable <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7 msg
Message counters
diagnose npu np7 msg
diagnose npu np7 msg htab-rate
Show/clear hash table message rate.
diagnose npu np7 msg htab-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg htab-stats
Show/clear hash table message counters.
diagnose npu np7 msg htab-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg ipsec-rate
Show/clear IPSec message rate.
diagnose npu np7 msg ipsec-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg ipsec-stats
Show/clear IPSec message counters.
diagnose npu np7 msg ipsec-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg ipt-rate
Show/clear IP tunnel message rate.
diagnose npu np7 msg ipt-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg ipt-stats
Show/clear IP tunnel message counters.
diagnose npu np7 msg ipt-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg log
Enable/disable command rate measurement.
diagnose npu np7 msg log <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
Action {enable | disable | show | clear} |
string |
|
diagnose npu np7 msg log-filter
Enable/disable command rate measurement.
diagnose npu np7 msg log-filter <src-module> <msg-code>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<src-module> |
Source moudule [-1, 255] in decial or hex, -1 for any. |
string |
|
|
<msg-code> |
Message code [-1, 255] in decial or hex, -1 for any. |
string |
|
diagnose npu np7 msg measure-rate
Enable/disable command rate measurement.
diagnose npu np7 msg measure-rate <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
Action {enable | disable} |
string |
|
diagnose npu np7 msg mse-rate
Show/clear MSE message rate.
diagnose npu np7 msg mse-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg mse-stats
Show/clear MSE message counters.
diagnose npu np7 msg mse-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg msg-by-code
Show/clear message counters by message code.
diagnose npu np7 msg msg-by-code <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg msg-by-cpu
Show/clear message counters by CPU.
diagnose npu np7 msg msg-by-cpu <dev-id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters |
string |
|
diagnose npu np7 msg msg-by-mod
Show/clear message counters by source module.
diagnose npu np7 msg msg-by-mod <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg msg-by-que
Show/clear message counters by RX queue.
diagnose npu np7 msg msg-by-que <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg spath-rate
Show/clear hyperscale message rate.
diagnose npu np7 msg spath-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg spath-stats
Show/clear hyperscale message counters.
diagnose npu np7 msg spath-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg sse-rate
Show/clear SSE message rate.
diagnose npu np7 msg sse-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg sse-stats
Show/clear SSE message counters.
diagnose npu np7 msg sse-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg summary
Show summary of message counters.
diagnose npu np7 msg summary <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 msg tpe-tce-rate
Show/clear TPE/TCE message rate.
diagnose npu np7 msg tpe-tce-rate <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msg tpe-tce-stats
Show/clear TPC/TCE message counters.
diagnose npu np7 msg tpe-tce-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 msgq
Show message queue configurations.
diagnose npu np7 msgq <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 mswm
Message Switch Module
diagnose npu np7 mswm
diagnose npu np7 mswm module-to-mswh
Show/clear module-to-MSWH counters.
diagnose npu np7 mswm module-to-mswh <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 mswm module-to-mswm
Show/clear module-to-MSWM counters.
diagnose npu np7 mswm module-to-mswm <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 mswm mswh-all
Show/clear all MSWH counters.
diagnose npu np7 mswm mswh-all <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 mswm mswh-to-hrx
Show/clear MSWH-to-HRX counter.
diagnose npu np7 mswm mswh-to-hrx <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 mswm mswm-all
Show/clear all MSWM counters.
diagnose npu np7 mswm mswm-all <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 mswm mswm-to-module
Show/clear MSWM-to-module counters.
diagnose npu np7 mswm mswm-to-module <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 np-port
Show NP port status.
diagnose npu np7 np-port
diagnose npu np7 pba
Show packet buffer counters.
diagnose npu np7 pba <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 pdq
Show packet descriptor queue counters.
diagnose npu np7 pdq <dev-id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters |
string |
|
diagnose npu np7 phy-status
Show PHY status.
diagnose npu np7 phy-status
diagnose npu np7 pmon
Show engine performance monitor counters.
diagnose npu np7 pmon <dev-id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters |
string |
|
diagnose npu np7 port-list
Show port list.
diagnose npu np7 port-list <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
{b|brief}: Brief information, {v|verbose}: Full information |
string |
|
diagnose npu np7 readtbl
Read NP7 configuration table.
diagnose npu np7 readtbl <dev_id> <tbl_name> <inst_id> <ent_index>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7 ID |
string |
|
|
<tbl_name> |
Name of linear or software-managed hash tables. |
string |
|
|
<inst_id> |
Instance ID (0 for single-instance tables). |
string |
|
|
<ent_index> |
Table entry index. |
string |
|
diagnose npu np7 serdes
NP7 serdes.
diagnose npu np7 serdes
diagnose npu np7 serdes linkscan
Enable/disable NP linkscan.
diagnose npu np7 serdes linkscan
diagnose npu np7 serdes linkscan disable
Disable NP linkscan
diagnose npu np7 serdes linkscan disable
diagnose npu np7 serdes linkscan enable
Enable NP linkscan
diagnose npu np7 serdes linkscan enable
diagnose npu np7 serdes pma_eye_diagram
Create eye diagram
diagnose npu np7 serdes pma_eye_diagram <npu_id> <serdes_id> <lane> <ber_exp> <mode>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<npu_id> |
NPU index |
string |
|
|
<serdes_id> |
SerDes index [0,1]. |
string |
|
|
<lane> |
Lane number [0.3]. |
string |
|
|
<ber_exp> |
BER exp. [7.10]. |
string |
|
|
<mode> |
Mode [0.1] (0:center, 1:all). |
string |
|
diagnose npu np7 serdes pma_register
Read/write PMA registers.
diagnose npu np7 serdes pma_register
diagnose npu np7 serdes pma_register read
Read PMA registers.
diagnose npu np7 serdes pma_register read <npu_id> <serdes_id> <address>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<npu_id> |
npu index |
string |
|
|
<serdes_id> |
SerDes index [0.1] |
string |
|
|
<address> |
Address in hex {<hex>|all} (e.g. 0x80a7, all). |
string |
|
diagnose npu np7 serdes pma_register write
Write PMA registers.
diagnose npu np7 serdes pma_register write <npu_id> <serdes_id> <address> <data>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<npu_id> |
npu index. |
string |
|
|
<serdes_id> |
SerDes index [0,1]. |
string |
|
|
<address> |
Address in hex (e.g. 0x80a7) |
string |
|
|
<data> |
Data in hex (e.g. 0xabcd). |
string |
|
diagnose npu np7 session-offload-stats
Show/Clear session offload error counters.
diagnose npu np7 session-offload-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID {all | 0} |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7 setreg
Write NP7 registers.
diagnose npu np7 setreg <dev_id> <register name> <reg-value>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7 ID |
string |
|
|
<register name> |
Register name (<blk>.<sub-blk>.<reg-name>.<filed-name>). |
string |
|
|
<reg-value> |
Register or field value in decimal or hexadecimal (e.g. 0xabc). |
string |
|
diagnose npu np7 show-dsw-dts-profile
Show NP7 dsw dts profile table.
diagnose npu np7 show-dsw-dts-profile <dev_id> <iport> <profile_id> <data_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7 ID |
string |
|
|
<iport> |
dsw iport id or iport name. |
string |
|
|
<profile_id> |
dsw dts profile id.{all|<profile_id>} |
string |
|
|
<data_id> |
dsw dts profile data id.{all|<data_id>} |
string |
|
diagnose npu np7 show-dsw-qtbl
Read NP7 configuration table.
diagnose npu np7 show-dsw-qtbl <dev_id> <iport> <oport> <queue_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7 ID |
string |
|
|
<iport> |
dsw iport id or iport name. |
string |
|
|
<oport> |
dsw oport id or oport name.{all|<oport>} |
string |
|
|
<queue_id> |
dsw queue id.{all|<queue_id>} |
string |
|
diagnose npu np7 sse-stats
Show session search engine counters.
diagnose npu np7 sse-stats <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 sse-tpe-accounting
Enable/disable SSE accouting for deubugging purpose.
diagnose npu np7 sse-tpe-accounting <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
Action { enable | disable } |
string |
|
diagnose npu np7 sw-np-que
Show the queue counters on those switch ports which connected to the current NP
diagnose npu np7 sw-np-que <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID {all | 0} |
string |
|
diagnose npu np7 system-config
Show system level driver configurations.
diagnose npu np7 system-config
diagnose npu np7 trng-freqency
NP7 trng RO freqency read.
diagnose npu np7 trng-freqency <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7 trng-read
NP7 entropy read.
diagnose npu np7 trng-read <dev_id> <size>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID. |
string |
|
|
<size> |
Randump number in bytes. |
string |
|
diagnose npu np7 vep-mode
Set VEP mode.
diagnose npu np7 vep-mode <vep_mode>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<vep_mode> |
VEP Mode |
string |
|
diagnose npu np7 vlan-accounting
Enable/disable/show VLAN accouting for deubugging purpose.
diagnose npu np7 vlan-accounting <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
Action {enable | disable | show} |
string |
|
diagnose npu np7lite
Network Processor version 7
diagnose npu np7lite
diagnose npu np7lite dce-drop-all
Show/clear all dce drop counters.
diagnose npu np7lite dce-drop-all <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-dsw-drop
Show/clear DSW drop counters.
diagnose npu np7lite dce-dsw-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-eng-drop
Show/clear ENG drop counters.
diagnose npu np7lite dce-eng-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-eng-stats
Show/clear DSW drop counters by source modules.
diagnose npu np7lite dce-eng-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-hif-drop
Show/clear HIF drop counters.
diagnose npu np7lite dce-hif-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-ihp-drop
Show/clear IHP drop counters.
diagnose npu np7lite dce-ihp-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-l2p-drop
Show/clear L2P drop counters.
diagnose npu np7lite dce-l2p-drop <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite dce-msw-stats
Show/clear DSW drop counters by destination modules.
diagnose npu np7lite dce-msw-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite debug-serial-console-output
set serial console output
diagnose npu np7lite debug-serial-console-output
diagnose npu np7lite debug-ssh-telnet-output
set ssh/telnet output
diagnose npu np7lite debug-ssh-telnet-output
diagnose npu np7lite dsw-buf-stats
Show/clear DSW topmon.
diagnose npu np7lite dsw-buf-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters |
string |
|
diagnose npu np7lite dsw-qtbl-stats
Show/clear DSW qtbl counters.
diagnose npu np7lite dsw-qtbl-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters |
string |
|
diagnose npu np7lite dvlan-mode
Set DVLAN mode.
diagnose npu np7lite dvlan-mode
diagnose npu np7lite dvlan-mode 802.1AD
Set dvlan mode to 802.1AD
diagnose npu np7lite dvlan-mode 802.1AD <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID |
string |
|
diagnose npu np7lite dvlan-mode 802.1Q
Set dvlan mode to 802.1Q
diagnose npu np7lite dvlan-mode 802.1Q <dev-id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev-id> |
NP ID |
string |
|
diagnose npu np7lite dvlan-mode-list
list DVLAN mode info
diagnose npu np7lite dvlan-mode-list
diagnose npu np7lite eth-eye-surf
eth eye surf data
diagnose npu np7lite eth-eye-surf
diagnose npu np7lite getreg
Read NP7LITE registers.
diagnose npu np7lite getreg <dev_id> <register name> <depth>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7LITE ID. |
string |
|
|
<register name> |
Register name ({all|<blk>.[sub-blk].[reg-name].[filed-name]}). |
string |
|
|
<depth> |
Read depth into register tree ({max|[1.10]}}, default 1). |
string |
|
diagnose npu np7lite hif-stats
Show/clear host queue counters.
diagnose npu np7lite hif-stats <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite hpe
Show np7lite hpe host queue type shaping stats.
diagnose npu np7lite hpe <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7lite info
Show chip information.
diagnose npu np7lite info
diagnose npu np7lite init-params
Show driver initialization parameters.
diagnose npu np7lite init-params
diagnose npu np7lite ipl
ipl cmds
diagnose npu np7lite ipl
diagnose npu np7lite linkscan
linkscan cmds
diagnose npu np7lite linkscan
diagnose npu np7lite listreg
List NP7LITE registers.
diagnose npu np7lite listreg <register name> <depth>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<register name> |
Register name ({all|<blk>.[<sub-blk>].[<reg-name>].[<field-name>]}). |
string |
|
|
<depth> |
List depth into register tree ({max|[1.10]}}, default 1). |
string |
|
diagnose npu np7lite listtbl
List NP7LITE configuration tables.
diagnose npu np7lite listtbl <table type>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<table type> |
Table type ({all|linear|hash|hhash}). |
string |
|
diagnose npu np7lite log-clean
clean np7lite log
diagnose npu np7lite log-clean
diagnose npu np7lite mac-mibs
Show/clear MAC MIBs counters.
diagnose npu np7lite mac-mibs <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite mas
Show DDR memory access module (MAS) information.
diagnose npu np7lite mas <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7lite mii-debug
mii debug cmds
diagnose npu np7lite mii-debug
diagnose npu np7lite mii-rw
mii read/write cmds
diagnose npu np7lite mii-rw
diagnose npu np7lite monitor-hpe
Monitor HPE setting and host queue status counters without packet dropping.
diagnose npu np7lite monitor-hpe
diagnose npu np7lite monitor-hpe disable
Disable monitor hpe
diagnose npu np7lite monitor-hpe disable
diagnose npu np7lite monitor-hpe enable
Enable monitor hpe
diagnose npu np7lite monitor-hpe enable
diagnose npu np7lite msg
Show message counters.
diagnose npu np7lite msg <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {2|c|clear}: Clear counters |
string |
|
diagnose npu np7lite p2a
p2a cmds
diagnose npu np7lite p2a
diagnose npu np7lite pba
Show packet buffer counters.
diagnose npu np7lite pba <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7lite pcie-eye-surf
eth eye surf data
diagnose npu np7lite pcie-eye-surf
diagnose npu np7lite phy-init
phy init cmds
diagnose npu np7lite phy-init
diagnose npu np7lite phy-status
Show PHY status.
diagnose npu np7lite phy-status
diagnose npu np7lite phy0
phy0 cmds
diagnose npu np7lite phy0
diagnose npu np7lite pmon
Show engine performance monitor counters.
diagnose npu np7lite pmon <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters, {1|v|verbose}: Show all the counters |
string |
|
diagnose npu np7lite pmon-s
Show engine performance summary counters.
diagnose npu np7lite pmon-s <dev_id> <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
|
<action> |
{0|b|brief}: Show non-zero counters |
string |
|
diagnose npu np7lite port-list
Show port list.
diagnose npu np7lite port-list
diagnose npu np7lite prng-read
Read SOC5 PRNG buffer
diagnose npu np7lite prng-read <round> <buf_cnt> <buf_size> <dump>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<round> |
Round |
string |
|
|
<buf_cnt> |
Buffer count |
string |
|
|
<buf_size> |
Buffer size |
string |
|
|
<dump> |
Dump buffer to console |
string |
|
diagnose npu np7lite prng_reseed
Test SOC5 PRNG reseed
diagnose npu np7lite prng_reseed
diagnose npu np7lite readtbl
Read NP7LITE configuration table.
diagnose npu np7lite readtbl <dev_id> <tbl_name> <inst_id> <ent_index>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7LITE ID |
string |
|
|
<tbl_name> |
Name of linear or software-managed hash tables. |
string |
|
|
<inst_id> |
Instance ID (0 for single-instance tables). |
string |
|
|
<ent_index> |
Table entry index. |
string |
|
diagnose npu np7lite reg-read-counter
NP7LITE registers reading counter.
diagnose npu np7lite reg-read-counter <dev_id> <register name>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7LITE ID. |
string |
|
|
<register name> |
Register name ({all|<blk>.[sub-blk].[reg-name]}). |
string |
|
diagnose npu np7lite reg-write-counter
NP7LITE registers writing counter.
diagnose npu np7lite reg-write-counter <dev_id> <register name>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7LITE ID. |
string |
|
|
<register name> |
Register name ({all|<blk>.[sub-blk].[reg-name]}). |
string |
|
diagnose npu np7lite serdes-init
serdes init cmds
diagnose npu np7lite serdes-init
diagnose npu np7lite serdes-mode
serdes mode cmds
diagnose npu np7lite serdes-mode
diagnose npu np7lite serdes-reg
serdes register cmds
diagnose npu np7lite serdes-reg
diagnose npu np7lite serdes-status
Show SERDES status.
diagnose npu np7lite serdes-status
diagnose npu np7lite setreg
Write NP7LITE registers.
diagnose npu np7lite setreg <dev_id> <register name> <reg-value>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7LITE ID |
string |
|
|
<register name> |
Register name (<blk>.<sub-blk>.<reg-name>.<filed-name>). |
string |
|
|
<reg-value> |
Register or field value in decimal or hexadecimal (e.g. 0xabc). |
string |
|
diagnose npu np7lite show-dsw-dts-profile
Show NP7LITE dsw dts profile table.
diagnose npu np7lite show-dsw-dts-profile <dev_id> <iport> <profile_id> <data_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP7LITE ID |
string |
|
|
<iport> |
dsw iport id or iport name. |
string |
|
|
<profile_id> |
dsw dts profile id.{all|<profile_id>} |
string |
|
|
<data_id> |
dsw dts profile data id.{all|<data_id>} |
string |
|
diagnose npu np7lite sse-stats
Show session search engine counters.
diagnose npu np7lite sse-stats <dev_id>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<dev_id> |
NP ID |
string |
|
diagnose npu np7lite sse-tpe-accounting
Enable/disable SSE accouting for deubugging purpose.
diagnose npu np7lite sse-tpe-accounting <action>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<action> |
Action { enable | disable } |
string |
|
diagnose npu np7lite system-config
Show system level driver configurations.
diagnose npu np7lite system-config
diagnose npu np7lite trng-buffer-check
Check SOC5 TRNG buffer size
diagnose npu np7lite trng-buffer-check <chip_id> <buf_size> <dump>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<chip_id> |
Chip ID |
string |
|
|
<buf_size> |
Buffer size |
string |
|
|
<dump> |
Dump buffer to console |
string |
|
diagnose npu np7lite trng-file-dump
Generate SOC5 FIPS TRNG file to /tmp(Max file size:15411200=100*1204*1024/8=481600*32; dump set 32 to create 16 single RO enable files.)
diagnose npu np7lite trng-file-dump <chip_id> <runtimes> <record_size> <dump>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<chip_id> |
Chip ID |
string |
|
|
<runtimes> |
Run times |
string |
|
|
<record_size> |
Buf size |
string |
|
|
<dump> |
Dump buffer to console |
string |
|
diagnose npu np7lite trng-read
Test SOC5 TRNG buffer
diagnose npu np7lite trng-read <chip_id> <buf_size> <dump>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<chip_id> |
Chip ID |
string |
|
|
<buf_size> |
Buffer size |
string |
|
|
<dump> |
Dump buffer to console |
string |
|
diagnose npu np7lite trng-romap
Set SOC5 TRNG RO mapping (16 RO rings[1,3,7-65535],romap=983056[0xf0010] for quick trng file dump.)
diagnose npu np7lite trng-romap <chip_id> <dump RO>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<chip_id> |
Chip ID |
string |
|
|
<dump RO> |
Dump RO ring |
string |
|
diagnose npu nturbo
Display NTurbo information.
diagnose npu nturbo
diagnose npu nturbo driver
Show driver stats.
diagnose npu nturbo driver
diagnose npu sniffer
NPU sniffer.
diagnose npu sniffer
diagnose npu sniffer filter
Sniffer filters.
diagnose npu sniffer filter
diagnose npu sniffer filter clear
Clear all filter config.
diagnose npu sniffer filter clear
diagnose npu sniffer filter dir
Direction of the traffic.
diagnose npu sniffer filter dir <x>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<x> |
0. ingress, 1. egress, 2. both |
string |
|
diagnose npu sniffer filter dport
Layer 4 Destination port.
diagnose npu sniffer filter dport <xxxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxxx> |
Layer 4 Destination port |
string |
|
diagnose npu sniffer filter dstip
Destination IP.
diagnose npu sniffer filter dstip <xxx.xxx.xxx.xxx>/<xxx.xxx.xxx.xxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxx.xxx.xxx.xxx>/<xxx.xxx.xxx.xxx> |
Dst IP and mask |
string |
|
diagnose npu sniffer filter dstip6
Destination IP6.
diagnose npu sniffer filter dstip6 <x:x:x:x:x:x:x:x>/<x:x:x:x:x:x:x:x>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<x:x:x:x:x:x:x:x>/<x:x:x:x:x:x:x:x> |
Dest IP6 and mask |
string |
|
diagnose npu sniffer filter ethtype
non IP Ethernet Type.
diagnose npu sniffer filter ethtype <xxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxx> |
non IP EthType <0-65535>. |
string |
|
diagnose npu sniffer filter intf
Interfaces to sniffer.
diagnose npu sniffer filter intf <xxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxx> |
Interface name. |
string |
|
diagnose npu sniffer filter ip
IP address.
diagnose npu sniffer filter ip <xxx.xxx.xxx.xxx>/<xxx.xxx.xxx.xxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxx.xxx.xxx.xxx>/<xxx.xxx.xxx.xxx> |
IP address and mask |
string |
|
diagnose npu sniffer filter ip6
IP6 Address.
diagnose npu sniffer filter ip6 <x:x:x:x:x:x:x:x>/<x:x:x:x:x:x:x:x>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<x:x:x:x:x:x:x:x>/<x:x:x:x:x:x:x:x> |
IP6 Address and mask |
string |
|
diagnose npu sniffer filter outgoing_intf
NOT a filtering field! Intf that the mirrored traffic goes to.
diagnose npu sniffer filter outgoing_intf <xxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxx> |
NOT a filtering field! Interface name |
string |
|
diagnose npu sniffer filter outgoing_vlan
NOT a filtering field! Vlan that the mirrored traffic goes to.
diagnose npu sniffer filter outgoing_vlan <xxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxx> |
NOT a filtering field! Vlan id |
string |
|
diagnose npu sniffer filter port
Layer 4 Port.
diagnose npu sniffer filter port <xxxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxxx> |
Layer 4 port |
string |
|
diagnose npu sniffer filter protocol
IP protocol.
diagnose npu sniffer filter protocol <xx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xx> |
<0-255>. |
string |
|
diagnose npu sniffer filter selector
Select the filter to config.
diagnose npu sniffer filter selector <x>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<x> |
0-3: Support four filters. |
string |
|
diagnose npu sniffer filter sport
Layer 4 Source port.
diagnose npu sniffer filter sport <xxxxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxxxx> |
Layer 4 Source port |
string |
|
diagnose npu sniffer filter srcip
Source IP.
diagnose npu sniffer filter srcip <xxx.xxx.xxx.xxx>/<xxx.xxx.xxx.xxx>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<xxx.xxx.xxx.xxx>/<xxx.xxx.xxx.xxx> |
Src IP and mask |
string |
|
diagnose npu sniffer filter srcip6
Source IP6.
diagnose npu sniffer filter srcip6 <x:x:x:x:x:x:x:x>/<x:x:x:x:x:x:x:x>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<x:x:x:x:x:x:x:x>/<x:x:x:x:x:x:x:x> |
Src IP6 and mask |
string |
|
diagnose npu sniffer start
Start sniffer.
diagnose npu sniffer start
diagnose npu sniffer stop
Stop sniffer.
diagnose npu sniffer stop