show log
This command displays the log messages stored in local memory.
Syntax
show log {flash | ram}
• flash - Event history stored in flash memory (i.e., permanent memory).
• ram - Event history stored in temporary RAM (i.e., memory flushed on
power reset).
Default Setting
None
Command Mode
Privileged Exec
Example
The following example shows the event message stored in RAM.
Console#show log ram
[1] 00:01:30 2001-01-01
"VLAN 1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
[0] 00:01:30 2001-01-01
"Unit 1, Port
level: 6, module: 5, function: 1, and event no.: 1
Console#
SMTP Alert Commands
These commands configure SMTP event handling, and forwarding of alert
messages to the specified SMTP servers and email recipients.
Command
logging sendmail host
logging sendmail level
logging sendmail
source-email
logging sendmail
destination-email
logging sendmail
show logging sendmail
1 link-up notification."
Table 4-21 SMTP Alert Commands
Function
SMTP servers to receive alert messages
Severity threshold used to trigger alert messages
Email address used for "From" field of alert messages
Email recipients of alert messages
Enables SMTP event handling
Displays SMTP event handler settings
System Management Commands
4
Mode
Page
GC
4-50
GC
4-50
GC
4-51
GC
4-51
GC
4-52
NE, PE
4-52
4-49