User manual

C
OMMAND
L
INE
I
NTERFACE
4-70
Example
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.
Console#show logging sendmail
SMTP servers
-----------------------------------------------
1. 192.168.1.19
Active SMTP server: 192.168.1.19
SMTP minimum severity level: 3
SMTP destination email addresses
-----------------------------------------------
1. ted@this-company.com
SMTP source email address: bill@this-company.com
SMTP status: Enable
Console#
Table 4-21 Time Commands
Command Function Mode Page
sntp server Specifies one or more time servers GC 4-71
sntp poll Sets the interval at which the client polls for
time
GC 4-72
sntp client Accepts time from specified time servers GC 4-72
show sntp Shows current SNTP configuration settings NE,
PE
4-73
clock timezone Sets the time zone for the switch’s internal
clock
GC 4-74
calendar set Sets the system date and time PE 4-75
show calendar Displays the current date and time setting NE,
PE
4-76