User`s manual

P-660 Series Support Notes
84
All contents copyright © 2005 ZyXEL Communications Corporation.
Configuration:
1. Active, use the space bar to turn on the syslog option.
2. Syslog IP Address, enter the IP address of the UNIX server that you wish to send
the syslog.
3. Log Facility, use the space bar to toggle between the 7 different local options.
4. Types, use the space bar to toggle the logs we are going to record.
UNIX Setup
1. Make sure that your syslog starts with -r argument.
-r, this option will enable the facility to receive message from the network using an
Internet domain socket with the syslog services. The default setting is not enabled.
2. Edit the file /etc/syslog.conf by adding the following line at the end of the
/etc/syslog.conf file.
local1.* /var/log/zyxel.log
Where /var/log/zyxel.log is the full path of the log file.
3. Restart syslogd.
ZyXEL Syslog Message Format
CDR
Call Detail Record (CDR) logs all data phone line activity if set to Yes.
Packet
triggered
The first 48 bytes or octets and protocol type of the triggering packet is sent to
the UNIX syslog server when this field is set to Yes.
Filter log
No filters are logged when this field is set to No. Filters with the individual
filter Log field set to Yes are logged when this field is set to Yes.
PPP log
PPP events are logged when this field is set to Yes.
1. CDR log(call messages)
Format:
sdcmdSyslogSend( SYSLOG_CDR, SYSLOG_INFO, String );
String = board xx line xx channel xx, call xx, str
board = the hardware board ID
line = the WAN ID in a board
channel = channel ID within the WAN
call = the call reference number which starts from 1 and increments by 1 for each new
call