Configure the calendar time in the form of month, day, year, hour, minute, and second.
clock set <MMddyyyyhhmmss>
None
User EXEC
Configuring time using the clock set command on a switch that also uses Network Time Protocol (NTP) can cause ports to be inactive.
As a best practice, do not configure time using the clock set command. Instead, rely on NTP to synchronize the internal clocks.