Basic Configuration
3-233
CLI – This example shows that system logging is enabled, the message level for
flash memory is “errors” (i.e., default level 3 - 0), the message level for RAM is
“debugging” (i.e., default level 7 - 0), and lists one sample error.
Sending Simple Mail Transfer Protocol AlertsTo 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 page4-44) 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)
•SMTP Server List – Specifies a list of up to three recipient SMTP servers. The
switch attempts to connect to the other listed servers if the first fails. Use the New
SMTP Server text field and the Add/Remove buttons to configure the list.
•Email Destination Address List – Specifies the email recipients of alert
messages. You can specify up to five recipients. Use the New Email Destination
Address text field and the Add/Remove buttons to configure the list.
Console#show logging flash 4-47
Syslog logging: Enable
History logging in FLASH: level emergencies
[4] 13:20:06 03/02/2004
"VLAN 1 link-up notification."
level: 6, module: 6, function: 1, and event no.: 1
[3] 13:20:06 03/02/2004
"STP topology change notification."
level: 6, module: 6, function: 1, and event no.: 1
[2] 13:19:36 03/02/2004
"Unit 1, Port 8 link-up notification."
level: 6, module: 6, function: 1, and event no.: 1
[1] 13:19:31 03/02/2004
"Unit 1, Port 6 link-down notification."
level: 6, module: 6, function: 1, and event no.: 1
[0] 13:19:31 03/02/2004
"VLAN 1 link-down notification."
level: 6, module: 6, function: 1, and event no.: 1
Console#