R211x-HP Flexfabric 11900 Network Management and Monitoring Configuration Guide

194
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 | random-failure |
success }
By default, the system runs a test
instead of simulating it.
Simulate a test (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
Execute display commands in any view and reset commands in user view.
Task Command
Display test content (in standalone mode). display diagnostic content [ slot slot-number ] [ verbose ]
Display test content (in IRF mode).
display diagnostic content [ chassis chassis-number [ slot
slot-number ] ] [ verbose ]
Display GOLD logs. display diagnostic event-log [ error | info ]
Display test results (in standalone mode).
display diagnostic result [ slot slot-number [ test test-name ] ]
[ verbose ]
Display test results (in IRF mode).
display diagnostic result [ chassis chassis-number [ slot
slot-number [ test test-name ] ] ] [ verbose ]