Command Mode
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
-----------------------------------------------
192.168.1.19
SMTP minimum severity level: 7
SMTP destination email addresses
-----------------------------------------------
ted@this-company.com
SMTP source email address: bill@this-company.com
SMTP status: Enabled
Console#
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.
Table 23-13 Time Commands
Command
sntp client
sntp server
sntp poll
sntp update-time
show sntp
clock timezone
clock timezone-predefined
Function Mode Page
Accepts time from specified time servers
Specifies one or more time servers
Sets the interval at which the client polls for time
Sends a request to immediately update the time
Shows current SNTP configuration settings
Sets the time zone for the switch’s internal clock
Sets the time zone for the switch’s internal clock using
predefined time zone configurations
GC 23-36
GC 23-37
GC 23-37
GC 23-38
NE, PE 23-38
GC 23-39
GC 23-39
23-35
Time Commands
23