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:
Online diagnostic tests can be categorized based on the way they are executed. They are the following:
LC/0/6/CPU0:May 13 13:19:40.769 EDT: 8000_online_diag[296]: %DIAG-DIAG-3-GOLDXR_FAIL : SFNPULoopback: Online diagnostic packet drops detected on NPU 0, slice 0. Please collect "show tech-support interface", "show tech-support fabric link-include", "show tech-support platform-fwd", and "show tech-support spp".
LC/0/6/CPU0:May 13 13:19:40.769 EDT: 8000_online_diag[296]: %DIAG-DIAG-3-GOLDXR_FAIL : Use "show diagnostic result location <location> detail" to monitor online diagnostic results.
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. |