Installation guide

System Management Commands
4-59
4
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.200
SMTP minimum severity level: 4
SMTP destination email addresses
-----------------------------------------------
1. geoff@samsung.com
SMTP source email address: john@samsung.com
SMTP status: Enabled
Console#
Table 4-19 Time Commands
Command Function Mode Page
SNTP Commands
sntp client Accepts time from specified time servers GC 4-60
sntp server Specifies one or more time servers GC 4-61
sntp poll Sets the interval at which the client polls for time GC 4-61
show sntp Shows current SNTP configuration settings NE, PE 4-62
NTP Commands
ntp client Enables the NTP client for time updates from specified servers GC 4-62
ntp server Specifies NTP servers to poll for time updates GC 4-63
ntp poll Sets the interval at which the NTP client polls for time GC 4-64
ntp authenticate Enables authentication for NTP traffic GC 4-64
ntp authentication-key Configures authentication keys GC 4-65
show ntp Shows current NTP configuration settings NE, PE 4-66
Manual Configuration Commands
clock
timezone-predefined
Sets the time zone for the switch’s internal clock using
predefined time zone configurations
GC 4-67
clock timezone Manually sets the time zone for the switch’s internal clock GC 4-67
clock summertime
(date)
Configures summer time (daylight savings time) for the switch’s
internal clock
GC 4-68
clock summertime
(predefined)
Configures summer time (daylight savings time) for the switch’s
internal clock
GC 4-69