3 sntp polltime, 4 sntp server, Sntp polltime – PLANET XGS3-24042 User Manual

Page 1125: Sntp server

Advertising
background image

68-9

Example:

Displaying debugging information for SNTP packet.

Switch#debug sntp packet

68.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

68.4 sntp server

Command:

sntp server {<ip-address> | <ipv6-address>}

[source {vlan <vlan no> | loopback <loopback

no>}] [version <version_no>]

no sntp server {<ip-address> | <ipv6-address>}

[source {vlan <vlan no> | loopback

<loopback no>}] [version <version_no>]

Function:

Enable the specified time server as clock source, the no command deletes the specified time

server.

Parameters:

Advertising