Configure NTP server settings, authentication, timezone, and service status using CLI commands.
Configure Network Time Protocol (NTP) settings to ensure accurate time synchronization on the device.
NTP configuration includes setting up server addresses, authentication methods, timezone settings. Proper NTP configuration ensures time synchronization across network devices.
Procedure
| 1. | Use the configure ntp server string command to configure the NTP server address. Example:
String - IP address or domain name. |
|
| 2. | Use the configure ntp authentication command to configure NTP authentication. Example:
none - disables the NTP authentication md5|sha1 - authentication method.
To configure a new password using a GUI or CLI, the password should match the following criteria:
Example:
|
|
| 3. | Use the configure ntp {enable | disable} command to enable or disable the NTP service. Example:
|
|
| 4. | Use the configure ntp timezone string command to configure the NTP timezone. Example:
|
|
| 5. | Use the show ntp config command to validate the NTP configuration and status. Example:
|
|
| 6. | Use the show ntp command to check if device can sync up time with NTP server. Example:
|