Log commands, Configuring what you want the zyxel device to log, Displaying logs – ZyXEL Communications P-660HW-T v2 User Manual

Page 306

Advertising
background image

P-660HW-T v2 User’s Guide

306

Appendix G Command Interpreter

Log Commands

This section provides some general examples of how to use the log commands. The items that
display with your device may vary but the basic function should be the same.

Go to the command interpreter interface.

Configuring What You Want the ZyXEL Device to Log

1 Use the sys logs load command to load the log setting buffer that allows you to configure

which logs the ZyXEL Device is to record.

2 Use sys logs category to view a list of the log categories.

Figure 176 Displaying Log Categories Example

3 Use sys logs category followed by a log category to display the parameters that are

available for the category.

Figure 177 Displaying Log Parameters Example

4 Use sys logs category followed by a log category and a parameter to decide what to

record.

Use 0 to not record logs for that category, 1 to record only logs for that category, 2 to
record only alerts for that category, and 3 to record both logs and alerts for that category.
Not every parameter is available with every category.

5 Use the sys logs save command to store the settings in the ZyXEL Device (you must do

this in order to record logs).

Displaying Logs

• Use the sys logs display command to show all of the logs in the ZyXEL Device’s log.

Copyright (c) 1994 - 2006 ZyXEL Communications Corp.
ras>?
Valid commands are:
sys exit ether aux
ip ipsec bridge bm
certificates cnm 8021x radius
ras>

ras> sys logs category access
Usage: [0:none/1:log/2:alert/3:both] [0:don't show debug type/
1:show debug type]

Advertising