302
Step
Command
Remarks
3.
Set the execution interval.
diagnostic monitor interval
chassis
chassis-number 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.
Simulating test results
Test simulation verifies GOLD frame functionality. When you use the
diagnostic simulation
commands to simulate a diagnostic test, only part of the test code is executed to generate a test
result. Test simulation does not trigger hardware correcting actions such as device restart and active
and standby switchover.
To simulate a test:
Task
Command
Remarks
Simulate a test.
•
In standalone mode:
diagnostic simulation slot
slot-number-list test
test-name
{
failure
| r
andom-failure
|
success
}
•
In IRF mode:
diagnostic simulation chassis
chassis-number slot slot-number-list
test
test-name
{
failure
|
random-failure
|
success
}
By default, the system runs a
test instead of simulating it.
Configuring the log buffer size
GOLD saves test results in the form of logs. You can use the
display diagnostic event-log
command to view the logs.
To configure the GOLD log buffer size:
Task
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the
maximum number of
GOLD logs that can
be saved.
diagnostic event-log size
number
By default, GOLD saves 512 log entries at
most.
When the number of logs exceeds the
configured log buffer size, the system
deletes the oldest entries.
Displaying and maintaining GOLD
(In standalone mode.) Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display test content.
display diagnostic content
[
slot
slot-number
] [
verbose
]
Display GOLD logs.
display diagnostic event-log
[
error
|
info
]