Command Line Interface
4-46
4

The following example displays settings for the trap function.

Related Commands

show logging sendmail (4-49)

SMTP Alert Commands

Configures SMTP event handling, and forwarding of alert messages to the specified

SMTP servers and email recipients.

Table4-18. System Logging Par ameters
Field Description
Syslog logging Shows if system logging has been enabled via the lo gging 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 com mand.
Messages Any system and event messages stored in memory.
Console#show logging trap
Syslog logging: Enabled
REMOTELOG status: Enabled
REMOTELOG facility type: local use 7
REMOTELOG level type: Informational messages only
REMOTELOG server IP address: 192.168.1.6
REMOTELOG server IP address: 192.168.1.7
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
Console#
Table4-19. Remote Logging Par ameters
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
facilitytype The facility type for remote logging of syslog me ssages 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
serverIP address The address of syslog servers as specified in the logging host command.
Table4-20. SMTP Alert Comm ands
Command Function Mode Page
logging sendmail host SMTP servers to rec eive alert messages GC 4-47
logging sendmail level Severity threshold used to trigger alert messages GC 4-47
logging sendmail
source-email Email address used for “From” field of alert m essages GC 4-48
logging sendmail
destination-email Em ail recipients of alert messages GC 4-48