8. SMASH-CLP
Shown below are examples for conditional display.
Ex. 1) Display the access log whose username is administrator.
show user==Administrator
Ex. 2) Display the access log whose IP address is 192.168.1.100 and protocol is HTTP and event is error.
show ipaddress==192.168.1.100,protocol==HTTP,event==error
Ex. 3) Display 100 tail logs whose timestamp is 01/01/2010 and protocol is HTTPS.
show -oemnec_taillog 100 timestamp==01/01/2010,protocol==HTTPS
• The "user" cannot be used as condition for access logs that does not contain user
information.
• Access log might not be correctly displayed with timestamp condition for the logs
recorded from AC ON to DC ON of the server.
8.9.2
Clearing 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.
delete
Express5800/A1040b, A2040b, A2020b, A2010b User's Guide
422