Page 391 / 427
Scroll up to view Page 386 - 390
P-2602H(W)(L)-DxA Series User’s Guide
Appendix I Log Descriptions
391
Figure 222
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.
•
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 ZyXEL Device log category.
•
Use the
sys logs clear
command to erase all of the ZyXEL Device’s logs.
ras> sys logs category access
Usage: [0:none/1:log/2:alert/3:both]
ras>
Page 392 / 427
P-2602H(W)(L)-DxA Series User’s Guide
392
Appendix I Log Descriptions
Log Command Example
This example shows how to set the ZyXEL Device to record the access logs and alerts and
then view the results.
Figure 223
Log Command Example
ras> sys logs load
ras> sys logs category access 3
ras> sys logs save
ras> sys logs display access
#
.time
source
destination
notes
message
7|01/01/2000 09:40:13 |192.168.1.1:3
|192.168.1.33:1
|ACCESS FO
RWARD
Router reply ICMP packet: ICMP(type:3, code:1)
8|01/01/2000 09:40:07 |192.168.1.1:3
|192.168.1.33:1
|ACCESS FO
RWARD
Router reply ICMP packet: ICMP(type:3, code:1)
9|01/01/2000 09:40:04 |192.168.1.1:3
|192.168.1.33:1
|ACCESS FO
RWARD
Router reply ICMP packet: ICMP(type:3, code:1)
10|01/01/2000 09:40:04 |192.168.1.33:1199
|207.69.188.186:110
|ACCESS FO
RWARD
Firewall default policy: TCP (L to W)
11|01/01/2000 09:40:04 |192.168.1.1:53
|192.168.1.33:1200
|ACCESS FO
RWARD
none: UDP
Page 393 / 427
P-2602H(W)(L)-DxA Series User’s Guide
Appendix J Command Interpreter
393
A
PPENDIX
J
Command Interpreter
The following describes how to use the command interpreter. Telnet to the ZyXEL Device and
enter the password to use the commands. See the included disk or zyxel.com for more detailed
information on these commands.
Note:
Use of undocumented commands or misconfiguration can damage the unit and
possibly render it unusable.
Command Syntax
•
The command keywords are in
courier new
font.
•
Enter the command keywords exactly as shown, do not abbreviate.
•
The required fields in a command are enclosed in angle brackets
<>
.
•
The optional fields in a command are enclosed in square brackets
[]
.
• The
|
symbol means or.
For example,
sys filter netbios config <type> <on|off>
means that you must specify the type of netbios filter and whether to turn it on or off.
Command Usage
A list of valid commands can be found by typing
help
or
?
at the command prompt. Always
type the full command. Type
exit
to leave the commands when finished.
Page 394 / 427
P-2602H(W)(L)-DxA Series User’s Guide
394
Appendix J Command Interpreter
Page 395 / 427
P-2602H(W)(L)-DxA Series User’s Guide
Appendix K Internal SPTGEN
395
A
PPENDIX
K
Internal SPTGEN
Internal SPTGEN Overview
Internal SPTGEN (System Parameter Table Generator) is a configuration text file useful for
efficient configuration of multiple ZyXEL Devices. Internal SPTGEN lets you configure, save
and upload multiple menus at the same time using just one configuration text file – eliminating
the need to navigate and configure individual screens for each ZyXEL Device.
The Configuration Text File Format
All Internal SPTGEN text files conform to the following format:
<field identification number = field name = parameter values
allowed = input>,
where
<
input
>
is your input conforming to
<
parameter values allowed
>
.
The figure shown next is an example of an Internal SPTGEN text file.
Figure 224
Configuration Text File Format: Column Descriptions
Note:
DO NOT alter or delete any field except parameters in the Input column.
This appendix introduces Internal SPTGEN. All menus shown in this appendix are example
menus meant to show SPTGEN usage. Actual menus for your product may differ.
Internal SPTGEN File Modification - Important Points to Remember
Each parameter you enter must be preceded by one “=”sign and one space.
/ Menu 1 General Setup
10000000 = Configured
<0(No)| 1(Yes)>
= 1
10000001 = System Name
<Str>
= Your Device
10000002 = Location
<Str>
=
10000003 = Contact Person’s Name
<Str>
=
10000004 = Route IP
<0(No)| 1(Yes)>
= 1
10000005 = Route IPX
<0(No)| 1(Yes)>
= 0
10000006 = Bridge
<0(No)| 1(Yes)>
= 0