362
(2) Configure a SNTP/NTP server IPv6 address
Switch(Config)#sntp server 3ffe:506:1:2::5
12.2.3 sntp poll
Command:sntp poll <interval>
no sntp poll
Function:
Sets the interval for SNTP clients to send requests to NTP/SNTP; the “
no
sntp poll
” 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 poll 128
12.2.4 debug sntp
Command:debug sntp {adjust | packets | select }
no debug sntp {adjust | packets | 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 packets.
Switch#debug sntp packets
12.2.5 show sntp
Command: show sntp
Function:
Displays current SNTP client configuration and server status.
Parameters: N/A.
Command mode:
Admin Mode
Example:
Displaying current SNTP configuration.
Switch#show sntp
SNTP server Version Last Receive
2.1.0.2 1 never