clock set
Use this command to set the system time manually.
Command Syntax
clock set HH:MM:SS <1-31> MONTH <2000-2099>
Parameters
HH:MM:SS
Time of day: hour, minutes, seconds
<1-31>
Day of month
MONTH
Month of the year (january-december)
<2000-2099>
Year
Default
N/A
Command Mode
Exec and privileged exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#clock set 18:30:00 13 january 2021
18:30:00 UTC Wed Jan 13 2021
Last modified date: 10/19/2023