Command Line Interface
4-50
4
Related Commands
show logging (4-49)
SMTP Alert Commands
Configures SMTP event handling, and forwarding of alert messages to the specified
SMTP servers and email recipients.
logging sendmail host
This command specifies SMTP servers that will be sent alert messages. Use the no
form to remove an SMTP server.
Syntax
[no] logging sendmail host ip_address
ip_address - IP address of an SMTP server that will be sent alert
messages for event handling.
Default Setting
None
Command Mode
Global Configuration
Table 4-18. Remote Logging
Field Description
Syslog logging Shows if system logging has been enabled via the logging on command.
REMOTELOG status Shows if remote logging has been enabled via the logging trap command.
REMOTELOG
facility
type
The facility type for remote logging of syslog messages as specified in the logging
facility command.
REMOTELOG level type The severity threshold for syslog messages sent to a remote server as specified in
the logging trap command.
REMOTELOG
server
IP address
The address of syslog servers as specified in the logging host command.
Table 4-19. SMTP Commands
Command Function Mode Page
logging sendmail host SMTP servers to receive alert messages GC 4-50
logging sendmail level Severity threshold used to trigger alert messages GC 4-51
logging sendmail
source-email
Email address used for “From” field of alert messages GC 4-52
logging sendmail
destination-email
Email recipients of alert messages GC 4-52
logging sendmail Enables SMTP event handling GC 4-53
show logging sendmail Displays SMTP event handler settings NE, PE 4-53