T
IME

C

OMMANDS

20-53

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.

sntp client

This command enables SNTP client requests for time synchronization
from NTP or SNTP time servers specified with the sntp servers
command. Use the no form to disable SNTP client requests.
Syntax
[no] sntp client
Default Setting
Disabled
Command Mode
Global Configuration
Table 20-17 Time Commands
Command Function Mode Page
sntp client Accepts time from specified time servers GC 20-53
sntp server Specifies one or more time servers GC 20-54
sntp poll Sets the interval at which the client polls for
time
GC 20-55
show sntp Shows current SNTP configuration settings NE,
PE
20-56
clock timezone Sets the time zone for the switch’s internal
clock
GC 20-57
calendar set Sets the system date and time PE 20-58
show calendar Displays the current date and time setting NE,
PE
20-58