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
calendar set
show calendar
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
None
Command Mode
Global Configuration
Table 4-22 Time Commands
Function
Accepts time from specified time servers
Specifies one or more time servers
Sets the interval at which the client polls for time GC
Shows current SNTP configuration settings
Sets the time zone for the switch's internal clock GC
Sets the system date and time
Displays the current date and time setting
S
M
YSTEM
ANAGEMENT
C
OMMANDS
Mode Page
GC
4-71
GC
4-72
4-73
NE,
4-74
PE
4-74
PE
4-75
NE,
4-76
PE
4-71