TMS zl Management and Configuration Guide ST.1.1.100430

A-89
Command-Line Reference
Global Configuration Context
logging
The logging command allows you to set the severity level for logging; the
module logs messages for events of the selected severity level or higher. It also
allows you to configure the threshold for the suppression of duplicate log
messages and to set up log forwarding using the following methods:
SNMP traps
Syslog messages
Email messages
logging email
To configure email forwarding, use the commands listed below.
To enable (or disable) email forwarding, enter the following command:
Syntax: [no] logging email enable
Set the email server and account information for email log forwarding:
Syntax: logging email server <hostname or IP address> from-address <from email
address> [user <username> password <password>]
Replace <hostname or IP address> with the hostname or IP address of the
email server.
Replace <from email address> with an email address, which will be used
as the source of the emails containing logs. The email address does not need
to be a real address, but it must be in valid email address format.
Enter the user option to configure an account used access the email server.
Replace <username> with the username of the account. Replace <pass-
word> with the password for the account.
To set the email account to which logs will be forwarded (up to 3), enter the
following command:
Syntax: [no] logging email to-address <to email address>
Replace <to email address> with the email address to which the module
will forward logs.
You can enter this command up to three times, one for each account. After
you specify three email accounts, if you try to enter the command again, you
receive an error message. You must delete one of the accounts (using the no
option) before you can add another account.