Chapter 59 commands for sntp, 1 debug sntp, 2 sntp server – PLANET XGS3-24040 User Manual
Page 838: 3 sntp polltime, Debug sntp, Sntp server, Sntp polltime
![background image](https://www.manualsdir.com/files/865186/content/doc838.png)
Commands for Network Time Management Chapter 1 Commands for SNTP
59-1
Chapter 59 Commands for SNTP
59.1 debug sntp
Command: debug sntp {adjust | packet | select }
no debug sntp {adjust | packet | select}
Function: Displays or disables SNTP debug information.
Parameters: adjust stands for SNTP clock adjustment information; packet for SNTP packets, select for
SNTP clock selection.
Command mode: Admin Mode
Example: Displaying debugging information for SNTP packet.
Switch#debug sntp packet
59.2 sntp server
Command: sntp server {
no sntp server {
Function: Configure the IPv4/IPv6 addresses and the version of the SNTP/NTP server; the “no” form of
this command cancels the configured SNTP/NTP server addresses.
Parameter:
<server_ipv6_addr> is the IPv6 unicast address of the SNTP/NTP server,
No. of the SNTP on current server, ranging between 1-4 and defaulted at 1.
Default: No SNTP/NTP configured by default.
Command Mode: Global Mode
Example:
(1) Configure an IPv4 address of a SNTP/NTP server. SNTPv4 version is adopted on the server
Switch(config)#sntp server 10.1.1.1 version 4
(2) Configure a SNTP/NTP server IPv6 address
Switch(config)#sntp server 3ffe:506:1:2::5
59.3 sntp polltime
Command: sntp polltime
no sntp polltime
Function: Sets the interval for SNTP clients to send requests to NTP/SNTP; the “no sntp polltime”
command cancels the polltime sets and restores the default setting.
Parameters:
Default: The default polltime is 64 seconds.
Command Mode: Global Mode
Example: Setting the client to send request to the server every 128 seconds.