beautypg.com

Log command example – ZyXEL Communications ZyXEL ZyAIR B-1000 User Manual

Page 224

background image

ZyAIR Access Point Series User’s Guide

N-4 Log Descriptions

Configuring What You Want the ZyAIR to Log

Use the sys logs load command to load the log setting buffer that allows you to configure which logs
the ZyAIR is to record.

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

Chart N-5 Log Categories and Available Settings

LOG CATEGORIES

AVAILABLE PARAMETERS

error

0, 1, 2, 3

mten 0,

1

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.

Use the sys logs save command to store the settings in the ZyAIR (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 ZyAIR’s log.

Use the sys logs category display command to show the log settings for all of the log
categories.

Use the sys logs display [log category] command to show the logs in an individual ZyAIR
log category.

Use the sys logs clear command to erase all of the ZyAIR’s logs.

Log Command Example

This example shows how to set the ZyAIR to record the error logs and alerts and then view the results.

ras> sys logs load

ras> sys logs category error 3

ras> sys logs save

ras> sys logs display access

# .time source destination

notes