Email Daily Report Example - ZyXEL Communications UAG Series Cli Reference Manual

Unified access gateway
Hide thumbs Also See for UAG Series:
Table of Contents

Advertisement

Chapter 36 Reports and Reboot
Table 140 Email Daily Report Commands (continued)
COMMAND
send-now
reset-counter-now
exit

36.2.1 Email Daily Report Example

This example sets the following about sending a daily report e-mail:
• Disables the reporting.
• Specifies example-SMTP-mail-server.com as the address of the SMTP mail server.
• Sets the subject of the report e-mails to test.
• Stops the system name from being appended to the mail subject.
• Appends the date and time to the mail subject.
• Sets the sender as my-email@example.com.
• Sets example-administrator@example.com as the first account to which to send the mail.
• Has the UAG not use the second and third mail-to options.
• Sets my-email@example.com as the fourth mail-to option.
• Has the UAG not use the fifth mail-to option.
• Has the UAG provide username 12345 and password 12345 to the SMTP server for
authentication.
• Sets the UAG to send the report at 1:57 PM.
• Has the UAG not reset the counters after sending the report.
• Has the report include CPU, memory, port, and session usage along with traffic statistics.
• Turns on the daily e-mail reporting.
Router(config)# daily-report
Router(config-daily-report)# no activate
Router(config-daily-report)# smtp-address example-SMTP-mail-server.com
Router(config-daily-report)# mail-subject set test
Router(config-daily-report)# no mail-subject append system-name
Router(config-daily-report)# mail-subject append date-time
Router(config-daily-report)# mail-from my-email@example.com
Router(config-daily-report)# mail-to-1 example-administrator@example.com
Router(config-daily-report)# no mail-to-2
Router(config-daily-report)# no mail-to-3
Router(config-daily-report)# mail-to-4 my-email@example.com
Router(config-daily-report)# no mail-to-5
Router(config-daily-report)# smtp-auth activate
Router(config-daily-report)# smtp-auth username 12345 password pass12345
Router(config-daily-report)# schedule hour 13 minutes 57
Router(config-daily-report)# no reset-counter
Router(config-daily-report)# item cpu-usage
Router(config-daily-report)# item mem-usage
Router(config-daily-report)# item port-usage
Router(config-daily-report)# item session-usage
Router(config-daily-report)# item traffic-report
Router(config-daily-report)# activate
Router(config-daily-report)# exit
Router(config)#
240
DESCRIPTION
Sends the daily e-mail report immediately.
Discards all report data and starts all of the report statistics
data counters over at zero.
Leaves the sub-command mode.
UAG CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents