liveBook · Manning

Clock set

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

clock set is a Cisco IOS privileged EXEC command that sets the software clock's date and time.

clock set is a Cisco IOS privileged EXEC command that manually sets the software clock’s date and time. Accurate timestamps support log correlation and time-dependent security mechanisms. section 2.1.2 section 2.4

Use the command and related clock operations as follows:

  • Enter clock set hh:mm:ss month day year from privileged EXEC mode; month and day may be reversed. section 2.1.2
  • Verify the result with show clock detail; user configuration becomes the time source and the nonauthoritative asterisk disappears. section 2.1.2
  • Use clock update-calendar or clock read-calendar for one-time synchronization with the hardware calendar. section 2.1.2

Set and verify the software clock

R1# clock set 18:30:00 August 28 2023 R1# show clock detail 18:30:03.553 UTC Mon Aug 28 2023 Time source is user configuration

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains syntax, execution mode, verification, time-source output, and one-time calendar synchronization.
Examples
Uses clock set followed by show clock detail to demonstrate changed time and user configuration as the source.
What it assumes
Distinguishes the software clock from the hardware calendar and recognizes privileged EXEC mode.
What you can do after
Operate Cisco IOS by setting the software clock and verifying its authoritative time source.
How it connects
Connects the software clock with show clock, hardware calendar, calendar set, clock read-calendar, clock update-calendar, and NTP.

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.