beautypg.com

Configuring sntp, Configuration restrictions and guidelines, Configuration task list – H3C Technologies H3C S6300 Series Switches User Manual

Page 61: Enabling the sntp service, Specifying an ntp server for the device

background image

48

Configuring SNTP

SNTP is a simplified, client-only version of NTP specified in RFC 4330. SNTP supports only the

client/server mode. An SNTP-enabled device can receive time from NTP servers, but cannot provide time

services to other devices.
SNTP uses the same packet format and packet exchange procedure as NTP, but provides faster

synchronization at the price of time accuracy.
If you specify multiple NTP servers for an SNTP client, the server with the best stratum is selected. If

multiple servers are at the same stratum, the NTP server whose time packet is first received is selected.

Configuration restrictions and guidelines

You cannot configure both NTP and SNTP on the same device.

Make sure you use the clock protocol command to specify the time protocol as NTP.

Configuration task list

Tasks at a glance

(Required.)

Enabling the SNTP service

(Required.)

Specifying an NTP server for the device

(Optional.)

Configuring SNTP authentication

Enabling the SNTP service

The NTP service and SNTP service are mutually exclusive. You can only enable either NTP service or

SNTP service at a time.
To enable the SNTP service:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the SNTP service.

sntp enable

By default, the SNTP service is not
enabled.

Specifying an NTP server for the device

Step Command

Remarks

1.

Enter system view.

system-view

N/A