Chapter 3
Configuring General Router Features
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
clock timezone zone hours-offset
Example:
RP/0/RSP0/CPU0:router(config)# clock timezone
pst -8
Step 3
commit
Example:
RP/0/RSP0/CPU0:router(config-if)# commit
Step 4
end
Example:
RP/0/RSP0/CPU0:router(config-if)# end
Step 5
clock set hh:mm:ss dd mm yyyy
Example:
RP/0/RSP0/CPU0:router# clock set 14:12:00 10
dec 2008
Step 6
clock update-calendar
Example:
RP/0/RSP0/CPU0:router# clock update-calendar
Step 7
show clock
Example:
RP/0/RSP0/CPU0:router# show clock
Examples
In the following example, the manual system clock is configured:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# clock timezone pst -8
RP/0/RSP0/CPU0:router(config)# commit
OL-17502-01
F I N A L D R A F T — C i s c o C o n f i d e n t i a l
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
Purpose
Enters global configuration mode.
Sets the time zone for the router clock.
•
The clock timezone command should be entered
before the clock is set because it defines the difference
between the system time and UTC.
The system time is the time that appears when you
Note
type the show clock command.
zone: Name of the time zone to be displayed when
•
standard time is in effect.
hours-offset: Difference in hours from UTC.
•
Commits the target configuration to the running
configuration.
Ends the configuration session and returns to EXEC mode.
Sets the system software clock.
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.
Displays the clock setting.
Use this command to verify the settings.
•
Manually Setting the Router Clock
3-39