Chapter 36 Logs

This table lists the commands for the remote syslog server settings.

Table 141 logging Commands: Remote Syslog Server Settings

COMMAND

DESCRIPTION

show logging status syslog

Displays the current settings for the remote

 

servers.

[no] logging syslog <1..4>

Enables the specified remote server. The no

 

command disables the specified remote server.

[no] logging syslog <1..4> address {ip

Sets the URL or IP address of the specified remote

hostname}

server. The no command clears this field.

 

hostname: You may up to 63 alphanumeric

 

characters, dashes (-), or periods (.), but the first

 

character cannot be a period.

 

 

[no] logging syslog <1..4> category {disable

Specifies what kind of information, if any, is logged

level normal level all}

for the specified category.

[no] logging syslog <1..4> facility {local_1

Sets the log facility for the specified remote server.

local_2 local_3 local_4 local_5 local_6

The no command sets the facility to local_1.

local_7}

 

[no] logging syslog <1..4> format {cef vrpt}

Sets the format of the log information.

 

cef: Common Event Format, syslog-compatible

 

format.

 

vrpt: ZyXEL’s Vantage Report, syslog-compatible

 

format.

36.1.4 E-mail Profile Log Commands

This table lists the commands for the e-mail profile settings.

Table 142 logging Commands: E-mail Profile Settings

COMMAND

DESCRIPTION

show logging status mail

Displays the current settings for the e-mail profiles.

[no] logging mail <1..2>

Enables the specified e-mail profile. The no

 

command disables the specified e-mail profile.

[no] logging mail <1..2> address {ip

Sets the URL or IP address of the mail server for

hostname}

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.

 

 

[no] logging mail <1..2> authentication

Enables SMTP authentication. The no command

 

disables SMTP authentication.

[no] logging mail <1..2> authentication

Sets the username and password required by the

username username password password

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.

 

 

244

 

NXC CLI Reference Guide