ZyXEL P-660HW-D1 ユーザーガイド

ページ / 460
Prestige 660H/HW Series User’s Guide
447 
 
Log Commands
Go to the command interpreter interface (
 explains how to access and 
use the commands).
Configuring What You Want the Prestige to Log
Use the sys logs load command to load the log setting buffer that allows you to configure 
which logs the Prestige is to record. 
Use sys logs category to view a list of the log categories.
Figure 270   Displaying Log Categories Example
Copyright (c) 1994 - 2004 ZyXEL Communications Corp.
ras> ?
sys             exit            device          ether
wan             poe             config          wlan
ip              ppp             bridge          hdap
bm              lan             radius          8021x
P660>
Use sys logs category followed by a log category to display the parameters that are 
available for the category.
Figure 271   Displaying Log Parameters Example
ras> sys logs category access
Usage: [0:none/1:log/2:alert/3:both]
ras>
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.
Use the sys logs save command to store the settings in the Prestige (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 Prestige’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 
Prestige log category.
• Use the sys logs clear command to erase all of the Prestige’s logs.