readlog command
This command displays the IMM event logs.
Use the readlog command to display the IMM event log entries. Five event logs are displayed at a time. The entries are displayed from the most recent to the oldest.
- readlog displays the first five entries in the event log, starting with the most recent, on its first execution, and then the next five for each subsequent call.
- readlog -a displays all entries in the event log, starting with the most recent.
- readlog -f resets the counter and displays the first 5 entries in the event log, starting with the most recent.
- readlog -date date displays event log entries for the specified date, specified in mm/dd/yy format. It can be a pipe (|) separated list of dates.
- readlog -sev severity displays event log entries for the specified severity level (E, W, I). It can be a pipe (|) separated list of severity levels.
- readlog -i ip_address sets the IPv4 or IPv6 IP address of the TFTP or SFTP server where the event log is saved. The -i and -l command options are used together to specify the location.
- readlog -l filename sets the file name of the event log file. The -i and -l command options are used together to specify the location.
- readlog -pn port_number displays or sets the port number of the TFTP or SFTP server (default 69/22).
- readlog -u username specifies the user name for the SFTP server.
- readlog -pw password specifies the password for the SFTP server.
Syntax:
readlog [options]
option:
-a
-f
-date date
-sev severity
-i ip_address
-l filename
-pn port_number
-u username
-pw password
Example:
system> readlog -f
1 I 2017-06-17T09:31:59.217 Remote Login Successful. Login ID: USERID
from SSH at IP address 10.134.78.180
2 I 2017-06-17T07:23:04.685 Remote Login Successful. Login ID: USERID
from webguis at IP address 10.134.78.180.
3 I 2017-06-16T11:00:35.581 Login ID: USERID from webguis at IP address 10.134.78.180 has logged off.
4 I 2017-06-16T11:00:15.174 Login ID: USERID from webguis at IP address 10.104.209.144 has logged off.
5 I 2017-06-16T10:40:14.352 Login ID: USERID from webguis at IP address 10.104.209.144 has logged off.
system> readlog
6 E SERVPROC 12/18/03 10:09:31 Fan 2 Fault. Multiple fan failures
7 E SERVPROC 12/18/03 10:09:31 Fan 1 Fault. Single fan failure
8 I SERVPROC 12/18/03 10:09:25 Ethernet[0] Link Established at 100Mb, Full Duplex.
9 I SERVPROC 12/18/03 10:09:24 Ethernet[0] configured to do Auto Speed/Auto Duplex.
10 I SERVPROC 12/18/03 10:09:24 Ethernet[0] MAC Address currently
being used: 0x00-09-6B-CA-0C-80
system>
Give documentation feedback