Chapter 4
  |  System Management Commands
SMTP Alerts
–  159  –
The following example displays settings for the trap function.
Console#show logging trap
Global Configuration:
  Syslog Logging    : Enabled
Remote Logging Configuration:
  Status              : Disabled
  Facility Type       : Local use 7 (23)
  Level Type          : Debugging messages (7)
Console#
SMTP Alerts
These commands configure SMTP event handling, and forwarding of alert 
messages to the specified SMTP servers and email recipients.
Table 23: show logging flash/ram - display description 
Field Description
Syslog logging Shows if system logging has been enabled via the logging on 
command.
History logging in FLASH The message level(s) reported based on the logging history command.
History logging in RAM The message level(s) reported based on the logging history command.
Table 24: show logging trap - display description  
Field Description
Syslog logging Shows if system logging has been enabled via the logging on 
command.
Status Shows if remote logging has been enabled via the logging trap 
command.
Facility Type The facility type for remote logging of syslog messages as specified in 
the logging facility command.
Level Type The severity threshold for syslog messages sent to a remote server as 
specified in the logging trap command.
Table 25: Event Logging Commands 
Command Function Mode
logging sendmail  Enables SMTP event handling GC
logging sendmail host  SMTP servers to receive alert messages GC
logging sendmail level  Severity threshold used to trigger alert messages GC
logging sendmail 
destination-email 
Email recipients of alert messages GC