301
Configuring GOLD
Generic Online Diagnostics (GOLD) performs the following operations:
•
Runs diagnostic tests on a device to inspect device ports, RAM, chip, connectivity, forwarding
paths, and control paths for hardware faults.
•
Reports the problems to the system.
The device supports only monitoring diagnostics. Monitoring diagnostics run diagnostic tests
periodically when the system is in operation and record test results. Monitoring diagnostics execute
only non-disruptive tests.
Diagnostic tests are used for diagnostics. The parameters of a diagnostic test include test name,
type, description, attribute (disruptive or non-disruptive), default status, and execution interval.
Support for the diagnostic tests and default values for a test's parameters depend on the device
model. You can modify part of the parameters by using the commands provided by this document.
The diagnostic tests are released with the system software image of the device. All enabled
diagnostic tests run in the background. You can use the
display
commands to view test results and
logs to verify hardware faults.
Configuring monitoring diagnostics
The system automatically executes monitoring diagnostic tests that are enabled by default after the
device starts. Use the
diagnostic monitor enable
command to enable monitoring diagnostic tests
that are disabled by default.
Use the
diagnostic monitor interval
command to configure an execution interval for each test. The
interval you set must be no smaller than the minimum interval for each test. You can view the
minimum interval for a test by using the
display diagnostic content
command.
(In standalone mode.) To configure monitoring diagnostics:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable monitoring
diagnostics.
diagnostic monitor enable slot
slot-number-list
[
test
test-name
]
By default, the settings for this
command vary by test. Use the
display diagnostic content
command to view the status of a
monitoring diagnostic test.
3.
Set the execution interval.
diagnostic monitor interval slot
slot-number-list
[
test
test-name
]
time
interval
By default, the settings for this
command vary by test. Use the
display diagnostic content
command to view the execution
interval for a test.
(In IRF mode.) To configure monitoring diagnostics:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable monitoring
diagnostics.
diagnostic monitor enable chassis
chassis-number slot slot-number-list
[
test
test-name
]
By default, the settings for this
command vary by test. Use the
display diagnostic content
command to view the status of a
monitoring diagnostic test.