Configuring NTP in client/server mode
Follow these guidelines when you configure an NTP client:
For the client to synchronize to an NTP server, make sure the server is synchronized by other devices or uses its local clock as a reference source.
If the stratum level of a server is higher than or equal to a client, the client will not synchronize to that server.
You can configure multiple servers by executing the ntp-service unicast-server or ntp-service ipv6 unicast-server commands multiple times.
When the device operates in client/server mode, specify the IP address for the server on the client.
To configure an NTP client:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Specify an NTP server for the device. |
| By default, no NTP server is specified. |