Log command example – ZyXEL Communications NBG334SH User Manual

Page 253

Advertising
background image

Appendix G Command Interpreter

ZyXEL NBG-334SH User’s Guide

253

• Use the

sys logs display [log category]

command to show the logs in an

individual ZyXEL Device log category.

• Use the

sys logs clear

command to erase all of the ZyXEL Device’s logs.

Log Command Example

This example shows how to set the ZyXEL Device to record the access logs and alerts and
then view the results.

ras> sys logs load
ras> sys logs category access 3
ras> sys logs save
ras> sys logs display access

#.time source destination notes

message

0|01/02/2000 04:06:35 |192.168.1.33:2190 |207.69.188.186:135 |ACCESS
FORWARD
Firewall default policy: TCP (L to W)
1|01/02/2000 04:06:28 |192.168.1.33:2190 |207.69.188.186:135 |ACCESS
FORWARD
Firewall default policy: TCP (L to W)
3|01/02/2000 04:06:25 |192.168.1.33:2190 |207.69.188.186:135 |ACCESS
FORWARD
Firewall default policy: UDP (L to W)
4|01/02/2000 04:06:16 |192.168.1.33:2187 |207.69.188.186:80 |ACCESS
FORWARD
Firewall default policy: TCP (L to W)

Advertising