Description Set the system time and date.
Syntax clock set time day month year
Mode Privileged EXEC mode
Usage Use this command to manually set the system time and date.
If the system clock is adjusted while OSPF or IS-IS is enabled, the routing protocols may stop working properly. To work around this issue, disable OSPF and IS-IS before adjusting the system clock.
Example Set the system clock to 5:51 p.m. and the date to February 22nd, 2015.