XG2000 series User's Guide
251/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.20.2 show log
Function
Displays system logs.
Prompt
xg#
Command syntax
show log { info | warning | error | critical } [ latest <1-10000> ]
Parameter
z { info | warning | error | critical }
Specifies the type of system log to be displayed.
− info
Displays the INFO log.
The INFO log stores informational (INFO) messages that report on the system status
of the device.
− warning
Displays the WARNING log.
The WARNING log stores warning (WARNING) messages that report on the system status
of the device.
− error
Displays the ERROR log.
The ERROR log stores error (ERROR) messages that report on the system status of the
device.
− critical
Displays the CRITICAL log.
The CRITICAL log stores critical (CRITICAL) messages that report on the system status
of the device.
z latest <1-10000>
Specifies the number of most current log entries to be displayed within the range of 1 to
10000.
If omitted, all logs are displayed.
Command type
Operation management command
Output form
xg# show log info latest 1
May 25 22:08:33 xghost xgsh: XG INFO[P4001]: cmd-exec[3388]: show log info
| | |
| | | | |
Month | Hours Min Sec | Function name Severity | Message text
Day The device's MessageID
Host name
z Month
Displays the month when the event occurred.
z Day
Displays the day when the event occurred.
z Hours Min Sec
Displays the time (hours, minutes and seconds) when the event occurred.
z Host name of the device
Displays the host name of the XG2000 series.
z Function name
Displays the function name.
z Severity
Indicates the severity of the message.
− CRITICAL
Critical level.
The system failed to continue its operation. Follow the instructions given by the
message.
− ERROR
Error level.
A portion of the system functions have failed although the system can continue operation.
Follow the instructions given by the message.
− WARNING
Warning level.
There is no problem with the system operations although an error or a warning event
was detected. Check the message information and determine the actions necessary to
take.
− INFO
Informational level.
This is an informational message displaying a system status change. No response is
necessary.
z MessageID
Displays the message ID in the “S message number” or “P message number” format.
− S
Indicates that the message is an SNMP trap notification.
− P
Indicates that the message is not an SNMP trap notification.