5-10
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 5 Initial Configuration of the Cisco IOS XR Software
Manually Setting the Router Clock
Examples
In the following example, the manual system clock is configured:
Step 2
clock timezone zone hours-offset
Example:
RP/0/RP0/CPU0:router(config)# clock timezone pst -8
Sets the time zone for the router clock.
• The clock timezone command should be
entered before the clock is set because it
displays the system time relative to UTC.
Note The system internally keeps time in UTC, so
this command is used only for display
purposes and when the time is manually set.
• zone: Name of the time zone to be displayed
when standard time is in effect.
• hours-offset: Hours difference from UTC.
• For detailed information about setting the
system clock, including the configuration of a
network time server, refer to the following Cisco
documents:
–
Cisco IOS XR Software System
Management Configuration Guide
–
Network Time Protocol Services Commands
in Cisco IOS XR Software System Security
Command Reference
Step 3
commit
Example:
RP/0/RP0/CPU0:router(config-if)# commit
Commits the target configuration to the router
running configuration.
Step 4
end
Example:
RP/0/RP0/CPU0:router(config-if)# end
Ends the configuration session and returns to EXEC
mode.
Step 5
clock set hh:mm:ss dd mm yyyy
Example:
RP/0/RP0/CPU0:router# clock set 14:12:00 10 feb 2004
Set the system software clock.
Step 6
clock update-calendar
Example:
RP/0/RP0/CPU0:router# clock update-calendar
Updates the hardware clock (calendar clock) with
the new clock settings.
• The hardware clock is battery operated, and runs
continuously, even if the router is powered off or
rebooted.
Step 7
show clock
Example:
RP/0/RP0/CPU0:router# show clock
Displays the clock setting.
• Use this command to verify the settings.