Microsoft ES4649 Manuale Utente

Pagina di 674
System Management Commands
4-49
4
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. 
SMTP Alert Commands
These commands configure SMTP event handling, and forwarding of alert 
messages to the specified SMTP servers and email recipients.
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
1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
Console#
Table 4-21   SMTP Alert Commands
Command
Function
Mode
Page
logging sendmail host 
SMTP servers to receive alert messages
GC
logging sendmail level 
Severity threshold used to trigger alert messages
GC
logging sendmail 
source-email 
Email address used for “From” field of alert messages
GC
logging sendmail 
destination-email 
Email recipients of alert messages
GC
logging sendmail 
Enables SMTP event handling
GC
show logging sendmail
Displays SMTP event handler settings
NE, PE