Configuring the local clock as a reference source
Follow these guidelines when you configure the local clock as a reference source:
Make sure the local clock can provide the time accuracy required for the network. After you configure the local clock as a reference source, the local clock is synchronized, and can operate as a time server to synchronize other devices in the network. If the local clock is incorrect, timing errors occur.
Before you configure this feature, adjust the local system time to make sure it is accurate.
Devices differ in clock precision. To avoid network flapping and clock synchronization failure, do not configure multiple reference sources on the same network segment.
To configure the local clock as a reference source:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the local clock as a reference source. | ntp-service refclock-master [ ip-address ] [ stratum ] | By default, the device does not use the local clock as a reference source. |