
| Chapter 36 Logs |
|
|
Table 142 logging Commands: | |
COMMAND | DESCRIPTION |
[no] logging mail <1..2> | Sets the |
command clears the specified field. | |
| e_mail: You can use up to 63 alphanumeric |
| characters, underscores (_), or dashes |
| must use the @ character. |
|
|
[no] logging mail <1..2> subject subject | Sets the subject line when the NXC mails to the |
| specified |
| this field. |
| subject: You can use up to 60 alphanumeric |
| characters, underscores (_), dashes |
| !@#$%*()+=;:’,./ characters. |
[no] logging mail <1..2> category module_name | Specifies what kind of information is logged for the |
level {alert all} | specified category. The no command disables |
| logging for the specified category. |
[no] logging mail <1..2> from e_mail | Sets the |
| mail is delivered. The no command clears this |
| field. |
[no] logging mail <1..2> schedule {full | Sets the |
hourly} | profile. The no command clears the schedule field. |
logging mail <1..2> schedule daily hour | Sets a daily |
<0..23> minute <0..59> | profile. |
logging mail <1..2> schedule weekly day day | Sets a weekly |
hour <0..23> minute <0..59> | mail profile. |
| day: sun mon tue wed thu fri sat |
logging mail sending_now | Sends mail immediately, according to the current |
| settings. |
36.1.4.1
The following commands set up
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
| 245 |
NXC CLI Reference Guide | |
|
|