Setting Router Clocks in Cisco Devices
Nerd Caf
In this lesson, I'll guide you step by step on how to set the clock on a Cisco router. This is an essential task in networking, as an incorrect time setting can impact logging, authentication protocols, and network synchronization.
Step 1: Understand the Importance of Router Clock
Before we start configuring, let's understand why setting the correct time on a router is important:
Accurate Logging: Ensures that logs have the correct timestamps.
Security Protocols: Some authentication mechanisms depend on synchronized clocks.
Network Management: Helps in troubleshooting and performance monitoring.
Cisco routers do not have a built-in battery-backed clock like computers. They lose their time setting when rebooted unless a Network Time Protocol (NTP) server is used.
Step 2: Check the Current Clock Setting
To check the router's current date and time, use:
Router# show clock
The asterisk (*
) indicates the clock is not set.
Step 3: Manually Set the Clock
You can manually set the clock using the following command:
Breakdown of the command:
14:30:00
→ Time in 24-hour format.31
→ Day of the month.Mar
→ Three-letter abbreviation for the month.2025
→ Year.
Step 4: Verify the Clock
After setting the clock, verify it using:
Step 5: Set the Time Zone
By default, the router uses UTC (Coordinated Universal Time). To set your local time zone, use:
Step 6: Save the Configuration
Since Cisco routers lose time when rebooted, you need to configure NTP or manually reset the clock after every restart.
To save the configuration:
Keywords
router clock
, Cisco router time
, set router time
, Cisco clock set
, configure router clock
, clock timezone
, NTP synchronization
, router time zone
, daylight saving time
, show clock
, IRST timezone
, Iran router time
, IRDT daylight saving
, network time protocol
, Cisco clock configuration
, clock summer-time
, router time settings
, UTC offset
, set router timezone
, save router time
, سیسکو
Last updated