Information About Configuring Online Diagnostics
With online diagnostics, you can test and verify the hardware functionality of a device while the device is connected to a live network. Online diagnostics contains packet-switching tests that check different hardware components and verify the data path and control signals.
Online diagnostics detects problems in these areas:
-
Hardware components
-
Interfaces (Ethernet ports and so forth)
-
Solder joints
Online diagnostics are categorized as on-demand, scheduled, or health-monitoring diagnostics. On-demand diagnostics run from the CLI; scheduled diagnostics run at user-designated intervals or at specified times when the device is connected to a live network; and health-monitoring runs in the background with user-defined intervals. The health-monitoring test runs every 90, 100, or 150 seconds based on the test.
After you configure online diagnostics, you can manually start diagnostic tests or display the test results. You can also see which tests are configured for the device and the diagnostic tests that have already run.
Generic Online Diagnostics (GOLD) Tests
Note |
|
The following sections provide information about GOLD tests.
DiagGoldPktTest
This GOLD packet loopback test verifies the MAC-level loopback functionality. In this test, a GOLD packet is sent, for which Unified Access Data Plane (UADP) ASIC provides support in the hardware. The packet loops back at MAC-level and is matched against the stored packet.
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Nondisruptive. |
Recommendation |
Run this on-demand test as per requirement. |
Default |
Off. |
Corrective action |
– |
Hardware support |
All modules. |
DiagThermalTest
This test verifies the temperature reading from a device sensor.
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Nondisruptive. |
Recommendation |
Do not disable. Run this as an on-demand test, and as a health-monitoring test if the administrator is down. |
Default |
On. |
Corrective action |
– |
Hardware support |
All modules. |
DiagPhyLoopbackTest
This PHY loopback test verifies the PHY-level loopback functionality. In this test, a packet, which loops back at the PHY level and is matched against the stored packet, is sent. It cannot be run as a health-monitoring test.
Note |
In certain cases when this test is run on-demand, ports are moved to the error-disabled state. In such cases, use the shut and no shut command in interface configuration mode to reenable these ports. |
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Disruptive. |
Recommendation |
If the link to the external connector is down, run this on-demand test to check the health of the link. |
Default |
Off. |
Corrective action |
– |
Hardware support |
All modules. |
DiagScratchRegisterTest
This Scratch Register test monitors the health of ASICs by writing values into registers, and reading back the values from these registers.
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Nondisruptive. |
Recommendation |
Do not disable. Run this test if the task of writing values to the registers fails. This can be run as a health-monitoring test and also as an on-demand test. |
Default |
On. |
Corrective action |
– |
Hardware support |
All modules. |
DiagStackCableTest
This test verifies the stack-ring loopback functionality in the stacking environment. It cannot be run as a health-monitoring test.
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Disruptive. |
Recommendation |
Run this test to verify the stack-ring loopback functionality in the stacking environment. |
Default |
Off. |
Corrective action |
If the test fails, check the stack cables and connectors. |
Hardware support |
All modules. |
DiagMemoryTest
This exhaustive ASIC memory test is run during normal device operation. The device utilizes memory built in self-test for this test. The memory test requires device reboot after the test.
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Very disruptive. |
Recommendation |
Run this on-demand test only if you experience memory-related problems in the system. Do not run this test if you do not want to reload the Supervisor engine. |
Default |
Off. |
Corrective action |
– |
Hardware support |
All modules. |
TestUnusedPortLoopback
This test verifies the PHY-level loopback functionality for admin-down ports. In this test, a packet which loops back at the PHY level and is matched against the stored packet, is sent.
Attribute |
Description |
---|---|
Disruptive or Nondisruptive |
Nondisruptive. |
Recommendation |
This can be run as a health-monitoring test and also as an on-demand test. |
Default |
Off. |
Corrective action |
Displays a syslog message if the test fails for a port. |
Hardware support |
All modules. |