Cisco Systems ASR 9000 3-39, Examples, 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

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 75
Image 75
clock timezone zone hours-offset

Chapter 3 Configuring General Router Features

 

 

Manually Setting the Router Clock

 

 

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

DETAILED STEPS

 

 

 

 

 

 

Command or Action

Purpose

Step 1

 

 

configure

Enters global configuration mode.

 

Example:

 

 

 

RP/0/RSP0/CPU0:router# configure

 

 

Step 2

 

 

clock timezone zone hours-offset

Sets the time zone for the router clock.

 

 

The clock timezone command should be entered

 

Example:

before the clock is set because it defines the difference

 

RP/0/RSP0/CPU0:router(config)# clock timezone

between the system time and UTC.

 

pst -8

Note The system time is the time that appears when you

 

 

 

 

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.

Step 3

 

 

commit

Commits the target configuration to the running

 

 

configuration.

 

Example:

 

 

 

RP/0/RSP0/CPU0:router(config-if)# commit

 

 

Step 4

 

 

end

Ends the configuration session and returns to EXEC mode.

 

Example:

 

 

 

RP/0/RSP0/CPU0:router(config-if)# end

 

 

Step 5

 

 

clock set hh:mm:ss dd mm yyyy

Sets the system software clock.

 

Example:

 

 

 

RP/0/RSP0/CPU0:router# clock set 14:12:00 10

 

 

 

dec 2008

 

 

Step 6

 

 

clock update-calendar

Updates the hardware clock (calendar clock) with the new

 

 

clock settings.

 

Example:

The hardware clock is battery operated and runs

 

RP/0/RSP0/CPU0:router# clock update-calendar

continuously, even if the router is powered off or

 

 

rebooted.

Step 7

 

 

show clock

Displays the clock setting.

 

 

Use this command to verify the settings.

 

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

 

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

 

 

 

 

 

 

OL-17502-01

 

 

3-39

 

 

 

 

 

Page 75
Image 75
Cisco Systems ASR 9000, A9KMOD80TR 3-39, Examples, 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, Detailed Steps