操作步骤:
1、ssh连接到imm 管理口(用户名和密码同web登录) 2、 显示所有日志 system> readlog -a 3、可用tftp或者sftp服务器将日志保存 system> readlog -a -i ip地址 -l 文件名 附 system> readlog ? usage:
readlog [-options] - display the IMM event log entries from most recent to oldest, five entries at a time
options:
-a: display all log entries
-f: reset the counter and display the first five entries
-date: display entries that meet date criteria
-sev: display entries that meet severity criteria
-i: IPv4 or IPv6 IP address of the TFTP/SFTP server where the event log is being saved
-l: filename is the name of the event log file
-pn: port number of TFTP/SFTP server (default 69/22)
-u: username for SFTP server
-pw: password for SFTP server |