ZyXEL Communications 3.1 User Manual

Page of 386
 Chapter 40 Logs
ZyWALL (ZLD) CLI Reference Guide
321
[no] logging mail <1..2> address {ip | 
hostname}
Sets the URL or IP address of the mail server for the specified e-
mail profile. The 
no
 command clears the mail server field.
hostname
: You may up to 63 alphanumeric characters, dashes (-
), or periods (.), but the first character cannot be a period.
logging mail <1..2> sending_now
Sends mail for the specified e-mail profile immediately, according 
to the current settings.
[no] logging mail <1..2> authentication
Enables SMTP authentication. The 
no
 command disables SMTP 
authentication.
[no] logging mail <1..2> authentication 
username username password password
Sets the username and password required by the SMTP mail 
server. The 
no
 command clears the username and password 
fields.
username
: You can use alphanumeric characters, underscores 
(_), and dashes (-), and it can be up to 31 characters long.
password
: You can use most printable ASCII characters. You 
cannot use square brackets [ ], double quotation marks (“), 
question marks (?), tabs or spaces. It can be up to 31 characters 
long.
[no] logging mail <1..2> port <1..65535>
Sets the port number of the mail server for the specified e-mail 
profile.
[no] logging mail <1..2> {send-log-to | send-
alerts-to} e_mail
Sets the e-mail address for logs or alerts. The 
no
 command 
clears the specified field.
e_mail
: You can use up to 63 alphanumeric characters, 
underscores (_), or dashes (-), and you must use the @ 
character.
[no] logging mail <1..2> subject subject
Sets the subject line when the ZyWALL mails to the specified e-
mail profile. The 
no
 command clears this field.
subject
: You can use up to 60 alphanumeric characters, 
underscores (_), dashes (-), or 
!@#$%*()+=;:’,./
 
characters.
[no] logging mail <1..2> category module_name 
level {alert | all}
Specifies what kind of information is logged for the specified 
category. The 
no
 command disables logging for the specified 
category.
[no] logging mail <1..2> schedule {full | 
hourly}
Sets the e-mail schedule for the specified e-mail profile. The 
no
 
command clears the schedule field.
logging mail <1..2> schedule daily hour <0..23> 
minute <0..59>
Sets a daily e-mail schedule for the specified e-mail profile.
logging mail <1..2> schedule weekly day day 
hour <0..23> minute <0..59>
Sets a weekly e-mail schedule for the specified e-mail profile.
day
: sun | mon | tue | wed | thu | fri | sat
Table 192   
logging Commands: E-mail Profile Settings (continued)
COMMAND
DESCRIPTION