{"id":61,"date":"2022-08-10T10:56:53","date_gmt":"2022-08-10T07:56:53","guid":{"rendered":"https:\/\/www.kmlsmv1.com\/?p=61"},"modified":"2022-08-10T10:56:53","modified_gmt":"2022-08-10T07:56:53","slug":"61","status":"publish","type":"post","link":"https:\/\/www.kmlsmv1.com\/?p=61","title":{"rendered":""},"content":{"rendered":"\n<p><strong>Debugging Commands<\/strong>:<a><\/a><\/p>\n\n\n\n<p>General Checks:<br>&#8220;show drops all location all&#8221;<br>&#8220;show drops&#8221;<br>&#8220;show asic-errors all location 0\/0\/CPU0&#8221;<br>&#8220;show asic-errors all location 0\/RSP0\/CPU0&#8221;<\/p>\n\n\n\n<p>Look for active PFM alarms on LC as well as RSP:<br>&#8220;show pfm location all&#8221;<\/p>\n\n\n\n<p>Check FPGA Software Is Updated:<br>&#8220;show controllers np summary all&#8221;<br>&#8220;admin show hw-module fpd location all&#8221;<\/p>\n\n\n\n<p>Check Hardware Diagnostics:<br>&#8220;admin show diagnostic result location all&#8221;<\/p>\n\n\n\n<p>Clearing Counters:<br>&#8220;clear counters all&#8221;<br>&#8220;clear controller np counters all&#8221;<br>&#8220;clear controller fabric fia location&#8221;<br>&#8220;clear controller fabric crossbar-counters location&#8221;<\/p>\n\n\n\n<p>Checking Interface Stats:<br>&#8220;show interface Gi0\/0\/0\/0 | inc rate&#8221; ! Note that this will exclude Ethernet headers and include payload only<\/p>\n\n\n\n<p>Check LC NP Stats:<br>&#8220;sh controller np ports all loc 0\/0\/cpu0&#8221;<br>&#8220;show controllers pm vqi location all&#8221;<br>&#8220;show controllers pm interface Te0\/0\/0\/0&#8221;<br>&#8220;show controllers pm location 0\/0\/CPU0 | i &#8220;name|switch&#8221;<br>&#8220;show controllers np fabric-counters all all&#8221;<br>Some interesting counters for this command are:<br>xaui_a_t_transmited_packets_cnt &#8212; Num pkt sent by NPU to bridge<br>xaui_a_r_received_packets_cnt &#8212; Num pkt sent by bridge to NPU<\/p>\n\n\n\n<p>When using &#8220;show controllers np fabric-counters all all location 0\/0\/CPU0&#8221;, all zero counts can be an indication there are Tx\/Rx problems between the NP and FIA.<\/p>\n\n\n\n<p>&#8220;show controllers np counters all&#8221;<br>Some interesting counters for this command are:<br>800 PARSE_ENET_RECEIVE_CNT &#8212; Num of packets received from external interface<br>970 MODIFY_FABRIC_TRANSMIT_CNT &#8212; Num of packets sent to fabric<br>801 PARSE_FABRIC_RECEIVE_CNT &#8212; Num of packets received from fabric<br>971 MODIFY_ENET_TRANSMIT_CNT &#8212; Num of packets sent to external interface<\/p>\n\n\n\n<p>When using &#8220;show controller np counters all loc 0\/0\/CPU0&#8221; the output &#8220;No non-zero data counters found&#8221; for an NP can be an indication it has locked up.<\/p>\n\n\n\n<p>Check LC FIA &amp; Bridge Stats:<br>&#8220;show controllers fabric fia link-status location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia stats location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia q-depth location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia drops ingress location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia drops egress location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia errors ingress location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia errors egress location 0\/0\/CPU0&#8221;<br>&#8220;show controllers fabric fia bridge *&#8221; Trident LC Only<\/p>\n\n\n\n<p>Check RSP Abriter and Xbar Stats:<br>&#8220;show controllers fabric arbiter serders location &#8230;&#8221;<br>&#8220;show controllers fabric crossbar link-status instance 0 location 0\/RSP0\/CPU0&#8221;<br>&#8220;show controllers fabric crossbar link-status instance 1 location 0\/RSP0\/CPU0&#8221;<br>&#8220;show controllers fabric crossbar statistics instance 0 location 0\/RSP0\/CPU0&#8221;<br>&#8220;show controllers fabric ltrace crossbar last 100 location all&#8221;<\/p>\n\n\n\n<p>Check how the interface policy is applied in hardware:<br>&#8220;show qos capability location 0\/0\/cpu0&#8221;<br>&#8220;show qos interface Te0\/0\/2\/1 output&#8221;<br>&#8220;show policy-map interface Te0\/0\/2\/1 output&#8221;\u00a0 ! Note that this will inlcude Ethernet SA+DA+ETYPE+VLANS+PAYLOAD+CRC<br>&#8220;show qoshal resource summary location 0\/0\/CPU0&#8221;<br>&#8220;show qoshal default-queue interface Te0\/0\/2\/1&#8221;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"641\" src=\"https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-NPU-OOO.png\" alt=\"\" class=\"wp-image-62\" srcset=\"https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-NPU-OOO.png 900w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-NPU-OOO-300x214.png 300w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-NPU-OOO-768x547.png 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"560\" src=\"https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-QoS-Overview-1024x560.png\" alt=\"\" class=\"wp-image-63\" srcset=\"https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-QoS-Overview-1024x560.png 1024w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-QoS-Overview-300x164.png 300w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-QoS-Overview-768x420.png 768w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-QoS-Overview.png 1192w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"970\" height=\"516\" src=\"https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-VoQ.png\" alt=\"\" class=\"wp-image-64\" srcset=\"https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-VoQ.png 970w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-VoQ-300x160.png 300w, https:\/\/www.kmlsmv1.com\/wp-content\/uploads\/2022\/08\/ASR9K-VoQ-768x409.png 768w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debugging Commands: General Checks:&#8220;show drops all location all&#8221;&#8220;show drops&#8221;&#8220;show asic-errors all location 0\/0\/CPU0&#8221;&#8220;show asic-errors all location 0\/RSP0\/CPU0&#8221; Look for active PFM alarms on LC as well as RSP:&#8220;show pfm location all&#8221; Check FPGA Software Is Updated:&#8220;show controllers np summary all&#8221;&#8220;admin show hw-module fpd location all&#8221; Check Hardware Diagnostics:&#8220;admin show diagnostic result location all&#8221; Clearing Counters:&#8220;clear &hellip; <a href=\"https:\/\/www.kmlsmv1.com\/?p=61\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts\/61"}],"collection":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=61"}],"version-history":[{"count":1,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":65,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions\/65"}],"wp:attachment":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}