Global Configuration
Example
Console(config)#logging sendmail
Console(config)#
show logging sendmail
This command displays the settings for the SMTP event handler.
Command Mode
Normal Exec, Privileged Exec
Example
Console#show logging sendmail
SMTP servers
1. 192.168.1.200
SMTP minimum severity level: 4
SMTP destination email addresses
1. geoff@acme.com
SMTP source email address: john@acme.com
SMTP status:
Console#
5.9 Time Commands
The system clock can be dynamically set by polling a set of specified time servers (NTP or SNTP). Maintaining an accurate time
on the switch enables the system log to record meaningful dates and times for event entries. If the clock is not set, the switch will
only record the time from the factory default set at the last bootup.
Command
sntp client
sntp server
sntp poll
show sntp
clock timezone
Enabled
Function
Accepts time from specified time servers
Specifies one or more time servers
Sets the interval at which the client polls for time
Shows current SNTP configuration settings
Sets the time zone for the switch's internal clock
User's Manual of SGSD-1022 / SGSD-1022P
398
SGSW-2840 / SGSW-2840P
Mode
GC
GC
GC
NE, PE
GC