R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

304
The system records information about test execution in the form of logs. A log entry contains test name,
execution time, test result, and failure cause. Log entries are generated for every execution. To reduce the
burden of the information center, GOLD logs are not sent to the information center.
GOLD logs are cleared when the device starts or when an active and standby switchover occurs.
Examples
# (In standalone mode.) Display all GOLD log entries.
<sysname> display diagnostic event-log
Event: E_INFO, Sun Jul 28 15:33:06:372 2013, -Slot=10 TestName->HGMonitor, Event_INFO:
Result->Success.
Event: E_INFO, Sun Jul 28 15:34:06:372 2013, -Slot=10 TestName->HGMonitor, Event_INFO:
Result->Success
# (In IRF mode.) Display all error GOLD log entries.
Event: E_ERROR, Sun Jul 28 15:33:06:372 2013, -Chassis=2-Slot=15 TestName->HGMonitor,
Event_INFO: Result->Failure Reason->Port Link Error.
Event: E_ERROR, Sun Jul 28 15:33:06:372 2013, -Chassis=2-Slot=15 TestName->HGMonitor,
Event_INFO: Result->Failure Reason->Port Link Error.
# (In IRF mode.) Display all GOLD log entries except error log entries.
<sysname> display diagnostic event-log info
Event: E_INFO, Sun Jul 28 15:33:06:372 2013, -Chassis=2-Slot=15 TestName->HGMonitor,
Event_INFO: Result->Success.
display diagnostic result
Use display diagnostic result to display test results.
Syntax
In standalone mode:
display diagnostic result [ slot slot-number [ test test-name ] ] [ verbose ]
In IRF mode:
display diagnostic result [ chassis chassis-number [ slot slot-number [ test test-name ] ] ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a card by its slot number. If you do not specify this option, test results for
diagnostic tests on all cards are displayed. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument represents the IRF member ID, and the slot-number argument represents the slot number of the
card. If you do not specify an IRF member ID, this command displays test results for diagnostic tests on
all devices. If no card is specified, this command displays test results for diagnostic tests on all cards of
the device. (In IRF mode.)