82
Protocols and standards
•
RFC 1305,
Network Time Protocol (Version 3) Specification, Implementation and Analysis
•
RFC 5905,
Network Time Protocol Version 4: Protocol and Algorithms Specification
Configuration restrictions and guidelines
When you configure NTP, follow these restrictions and guidelines:
•
You cannot configure both NTP
and SNTP on the same device.
•
Do not configure NTP on an aggregate member port.
•
The NTP service and SNTP service are mutually exclusive. You can only enable either NTP
service or SNTP service at a time.
•
To avoid frequent time changes or even synchronization failures, do not specify more than one
reference source on a network.
•
Make sure you use the
clock protocol
command on the specfied Multitenant Device Context
(MDC) to specify the time protocol as NTP. For more information about the
clock protocol
command, see device management commands in
Fundamentals Command Reference
.
•
You can configure NTP only on one MDC.
Configuration task list
Tasks at a glance
(Required.)
(Required.) Perform one or both of the following tasks:
•
Configuring NTP association mode
•
Configuring the local clock as a reference source
Configuring access control rights
Configuring NTP authentication
Configuring NTP optional parameters
Enabling the NTP service
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the NTP service.
ntp-service enable
By default, the NTP service is
disabled.
Configuring NTP association mode
This section describes how to configure NTP association mode.