317
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Administering the Wireless Device
Managing the System Time and Date
Setting the System Clock
If you have an outside source on the network that provides time services, such as an NTP server, you do
not need to manually set the system clock.
To set the system clock, follow these steps, beginning in privileged EXEC mode.
SUMMARY STEPS
1.
clock set
hh
:
mm
:
ss
day
month
year
or
clock set
hh
:
mm
:
ss
month day year
2.
show running-config
3.
copy running-config startup-config
DETAILED STEPS
This example shows how to manually set the system clock to 1:32 p.m. on July 23, 2001:
AP#
clock set 13:32:00 23 July 2001
Displaying the Time and Date Configuration
To display the time and date configuration, use the
show clock
[
detail
] command in privileged EXEC
mode.
The system clock keeps an
authoritative
flag that shows whether the time is authoritative (believed to be
accurate). If the system clock has been set by a timing source such as NTP, the flag is set. If the time is
not authoritative, it is used only for display purposes. Until the clock is authoritative and the
authoritative
flag is set, the flag prevents peers from synchronizing to the clock when the peers’ time is
invalid.
The symbol that precedes the
show clock
display has this meaning:
•
*—Time is not authoritative.
•
(blank)—Time is authoritative.
•
.—Time is authoritative, but NTP is not synchronized.
Command
Purpose
Step 1
clock set
hh
:
mm
:
ss
day
month
year
or
clock set
hh
:
mm
:
ss
month day year
Manually sets the system clock by using one of these formats:
•
For
hh
:
mm
:
ss
, specify the time in hours (24-hour format), minutes,
and seconds. The time specified is relative to the configured time
zone.
•
For
day
, specify the day by date in the month.
•
For
month
, specify the month by its full name.
•
For
year
, specify the year in four digits (no abbreviation).
Step 2
show running-config
Verifies your entries.
Step 3
copy running-config startup-config
(Optional) Saves your entries in the configuration file.