8. SMASH-CLP
8.9.1
Viewing Access Log
Enter the following command at the command prompt to move the current default target to
/admin1/sp1/log1/record1.
cd /admin1/sp1/log1/record1
Enter the following command, to view the access log.
show
The display example of access log is shown below.
timestamp user ipaddress protocol event
----------+--------+----------------+----------+--------------------------
06/10/2009 ope 192.168.2.14 SSH Login Successful
13:52:19
--------------------------------------------------------------------------
06/10/2009 admin 192.168.2.14 SSH Login Successful
13:53:14
--------------------------------------------------------------------------
06/10/2009 user 192.168.2.14 HTTP Login Successful
13:55:49
You can display only access log that corresponded to the following condition.
• timestamp
Specify the date by the following format: MM/DD/YYYY
• user
Specify the user name.
• ipaddress
Specify the IP address on the remote management PC by the following format: XXX.XXX.XXX.XXX
• protocol
Select the following protocol: HTTP, HTTPS, SSH
• event
Specify the type of event: normal, error
You can change the displaying sequence of access log and display the specified number of access log by
specifying the following options.
• oemnec_headlog <number>
Display from <number> head of the access log.
• oemnec_taillog <number>
Display from <number> tail of the access log.
Express5800/A1040b, A2040b, A2020b, A2010b User's Guide
421