Basic Configuration 3

Displaying Log Messages

Use the Logs page to scroll through the logged system and event messages. The switch can store up to 2048 log entries in temporary random access memory (RAM; i.e., memory flushed on power reset) and up to 4096 entries in permanent flash memory.

Web – Click System, Log, Logs.

 

Figure 3-19 Displaying Logs

 

CLI – This example shows the event message stored in RAM.

 

 

 

 

Console#show

log ram

4-47

[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#

 

 

 

 

 

Sending Simple Mail Transfer Protocol Alerts

To alert system administrators of problems, the switch can use SMTP (Simple Mail Transfer Protocol) to send email messages when triggered by logging events of a specified level. The messages are sent to specified SMTP servers on the network and can be retrieved using POP or IMAP clients.

Command Attributes

Admin Status – Enables/disables the SMTP function. (Default: Enabled)

Email Source Address – Sets the email address used for the “From” field in alert messages. You may use a symbolic email address that identifies the switch, or the address of an administrator responsible for the switch.

Severity – Sets the syslog severity threshold level (see table on page 3-26)used to trigger alert messages. All events at this level or higher will be sent to the configured email recipients. For example, using Level 7 will report all events from level 7 to level 0. (Default: Level 7)

3-29