CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
Time
– 163 –
SNTP Commands
sntp client This command enables SNTP client requests for time synchronization from NTP or
SNTP time servers specified with the sntp server command. Use the no form to
disable SNTP client requests.
Syntax
[no] sntp client
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The time acquired from time servers is used to record accurate dates and times
for log events. Without SNTP, the switch only records the time starting from the
factory default set at the last bootup (e.g., Dec 31 07:32:04 2014).
This command enables client time requests to time servers specified via the
sntp server command. It issues time synchronization requests based on the
interval set via the sntp poll command.
Example
Console(config)#sntp server 10.1.0.19
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current Time : Mar 12 02:33:00 2015
Poll Interval : 60 seconds
Current Mode : Unicast
SNTP Status : Enabled
SNTP Server : 10.1.0.19
Current Server : 137.92.140.80
Console#
Related Commands
sntp server (164)
sntp poll (164)
calendar set Sets the system date and time PE
show calendar Displays the current date and time setting NE, PE
* Daylight savings time.
Table 25: Time Commands (Continued)
Command Function Mode