Ad space (banner)
📡Networking Lessons
Lesson 24 / 39

Checking the Time with show clock

When you want to see the current time configured on the device, use show clock. It displays the date and time the device is keeping internally.

The syntax is show clock, in privileged EXEC mode.

Running show clock prints the device's idea of the current date and time, in a form like 10:00:00.123 JST Thu Aug 13 2026.

A common stumble is not noticing the device clock has drifted, so its log timestamps don't line up with the server logs and an investigation grinds to a halt.

In real work, devices are kept on accurate time with NTP (the time-synchronization protocol) precisely so logs carry trustworthy timestamps.

Networking
Try it (type this into the pseudo terminal)
show clock

🧑‍💻 You can type this command into the Networking pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)