304
Chapter 12 SNTP Configuration
The Network Time Protocol (NTP) is widely used for clock synchronization for global
computers connected to the Internet. NTP can assess packet sending/receiving delay in
the network, and estimate computer clock deviation independently, so as to achieve high
accuracy in network computer clocking. In most positions, NTP can provide accuracy from
1 to 50ms according to the characteristics of the synchronization source and network
route.
Simple Network Time Protocol (SNTP) is the simplified version of NTP that removed
complex algorithm of NTP. SNTP is used for hosts do not require full NTP functions, it is a
subset of NTP. It is a common practice to synchronize the clocks of several hosts in local
area network with other NTP hosts through the Internet, and use those hosts to provide
time synchronization service for other clients in LAN.
ES4626/ES4650 has SNTPv4 client implemented and support SNTP client unicast
described in RFC2030; SNTP client multicast and anycast are not supported, nor is SNTP
server function.
12.1 SNTP Configuration Commands
12.1.1 sntp server
Command: sntp server <server_address> [version <version_no>]
no sntp server <server_address>
Function: Set the SNTP/NTP server address and server version; the “no sntp server
<server_address” command deletes the SNTP/NTP server address.
Parameter: <server-address> is the IP unicast address of SNTP/NTP server, in dotted
decimal format; <version_no> is the client SNTP version number, valid value is 1 – 4.
Default version number is 1.
Default: This setting is not configured upon switch shipment.
Command mode: Global Mode
Example: Set a SNTP/NTP server address.
Switch(Config)#sntp server 10.1.1.1 version 4
12.1.2 sntp poll