401
Syntax
display diagnostic event-log
[
error
|
info
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
error
: Displays all error log entries.
info
: Displays all log entries except error log entries.
Usage guidelines
If you do not specify the
error
and
info
keywords, the command displays all GOLD log entries.
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 IRF mode.) Display all GOLD log entries.
<Sysname> display diagnostic event-log
Event: E_INFO, Wed Jan 7 11:39:53:314 2012, -Chassis=4-Slot=2 TestName->SystemMgmtBus,
Event_INFO: Result->Success.
Event: E_ERROR, Wed Jan 7 11:39:53:314 2012, -Chassis=4-Slot=2 TestName->SystemMgmtBus,
Event_INFO: Result->Failure Reason->The port 9 is offline.
# (In IRF mode.) Display all GOLD error log entries.
<Sysname> display diagnostic event-log error
Event: E_ERROR, Wed Jan 7 11:39:53:314 2012, -Chassis=4-Slot=2 TestName->SystemMgmtBus,
Event_INFO: Result->Failure Reason->The port 9 is offline.
# (In IRF mode.) Display all GOLD log entries except error log entries.
<Sysname> display diagnostic event-log info
Event: E_INFO, Wed Jan 7 11:39:53:314 2012, -Chassis=4-Slot=2 TestName->SystemMgmtBus,
Event_INFO: Result->Success.
display diagnostic ondemand configuration
Use
display diagnostic ondemand configuration
to display configurations of on-demand
diagnostic tests.
Syntax
display diagnostic ondemand configuration
Views
Any view
Predefined user roles
network-admin
network-operator