Diagnostics
View system event logs
IX20 User Guide
641
Command line
1. Log into the IX20 command line as a user with Admin access.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
admin
to access the Admin CLI.
2. Use
at the Admin CLI prompt:
> show log
Timestamp
Message
--------------
-----------------------------------------------------------
--
Nov 26 21:54:34
IX20 netifd: Interface 'interface_wan' is setting up now
Nov 26 21:54:35
IX20 firewalld[621]: reloading status
...
>
3. (Optional) Use the
show log number
num
command to limit the number of lines that are
displayed. For example, to limit the log to the most recent ten lines:
> show log number 10
Timestamp
Message
--------------
-----------------------------------------------------------
--
Nov 26 21:54:34
IX20 netifd: Interface 'interface_wan' is setting up now
Nov 26 21:54:35
IX20 firewalld[621]: reloading status
...
>
4. (Optional) Use the
show log filter
value
command to limit the number of lines that are
displayed. Allowed values are
critical
,
warning
,
info
, and
debug
. For example, to limit the
event list to only info messages:
> show log filter info
Timestamp
Type
Category
Message
---------------- ------- --------- ----------------------------------------
---
Nov 26 22:01:26
info
user
name=admin~service=cli~state=opened~remote=192.168.1.2
Nov 26 22:01:25
info
user
name=admin~service=cli~state=closed~remote=192.168.1.2
...
>
5. Type
exit
to exit the Admin CLI.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
quit
to disconnect from the device.