Describes how to set the time locally on a device.
You can set the time locally on a device without using NTP if you do not need to ensure that time is synchronized across an entire network of devices. You can also set the time locally on any device as it is joining the network, in addition to configuring an NTP server. The local time gets overwritten by the official NTP time once the device contacts the NTP server.
Configure the time using CLI commands in a CLI add-on profile or CLI add-on template.
Before you begin
Perform these steps to configure the time on a device using CLI commands.
Procedure
| 1. | Create a CLI add-on profile or CLI add-on template. |
|
| 2. | Use clock set to set the time.
|
clock set 12:00:00 31 May 2019