356
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
39.2 sntp server
Command: sntp server { <server_address> | <server_ipv6_addr> } [version
<version_no>]
no sntp server { <server_address> | <server_ipv6_addr> }
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_address> is the IPv4 unicast address of the SNTP/NTP server,
<server_ipv6_addr> is the IPv6 unicast address of the SNTP/NTP server, <version_no>
is the version 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
39.3 sntp polltime
Command: sntp polltime <interval>
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: <interval> is the interval value from 16 to 16284.
Default: The default polltime is 64 seconds.
Command Mode: Global Mode
Example: Setting the client to send request to the server every 128 seconds.
Switch#config
Switch(config)#sntp polltime128