Chapter 40 Logs

40.1.4.1 E-mail Profile Command Examples

The following commands set up e-mail log 1.

Router# configure terminal

Router(config)# logging mail 1 address mail.zyxel.com.tw Router(config)# logging mail 1 subject AAA

Router(config)# logging mail 1 authentication username lachang.li password XXXXXX Router(config)# logging mail 1 send-log-to lachang.li@zyxel.com.tw Router(config)# logging mail 1 send-alerts-to lachang.li@zyxel.com.tw Router(config)# logging mail 1 from lachang.li@zyxel.com.tw

Router(config)# logging mail 1 schedule weekly day mon hour 3 minute 3 Router(config)# logging mail 1

40.1.5 Console Port Logging Commands

This table lists the commands for the console port settings.

Table 193 logging Commands: Console Port Settings

COMMAND

DESCRIPTION

show logging status console

Displays the current settings for the console log. (This log

 

is not discussed above.)

 

 

[no] logging console

Enables the console log. The no command disables the

 

console log.

logging console category module_name level {alert

Controls whether or not debugging information for the

crit debug emerg error info notice warn}

specified priority is displayed in the console log, if logging

 

for this category is enabled.

 

 

[no] logging console category module_name

Enables logging for the specified category in the console

 

log. The no command disables logging.

322

 

ZyWALL (ZLD) CLI Reference Guide