Online Diagnostics for NPU
The diagnostic tests check different hardware components in a system and verify the data paths and control signals. The online diagnostics tests use the CPU to send packets to the Network Processing Unit (NPU) through the Punt switch. If a failure is detected, an NP Datalog is automatically generated to help diagnose the problem.
The default interval for the NPU loopback test is one minute, and the default threshold is 3.
The following is a sample system log output:
RP/0/RP0/CPU0: Dec 6 22:46:26.264 UTC: 8000_online_diag[142]:%DIAG-DIAG-3-GOLDXR_FAIL :SFNPULoopback: Online diagnostic packet drops detected on NPU 0, slice bitmask 0x1. Please collect "show tech-support interface", "show tech-support fabric link-include", "show tech-support platform-fwd", and "show tech-support spp"
Online diagnostic tests can be categorized based on the way they are executed. They are the following:
Types of Online diagnostic test |
Description |
---|---|
Dynamic diagnostics |
Online Diagnostics are enabled when the system starts and the system datapath is operational. When the system is in use and linked to a live network, these tests run in the background as a non-disruptive test. |
On-demand diagnostics |
Tests that are conducted as needed using a diagnostic start command from the command-line interface (CLI). These tests are useful when a hardware fault is suspected. You can use these diagnostics tests to determine the status and troubleshoot the hardware issues. |