Cisco Cisco Packet Data Gateway (PDG)

Seite von 1824
clock set
Sets the system time.
Product
All
Privilege
Security Administrator, Administrator
Command Modes
Exec
The following prompt is displayed in the Exec mode:
[local]
host_name
#
Syntax Description
clock set date_time
date_time
Specifies the date and time to set the system clock in the format YYYY:MM:DD:HH:mm or
YYYY:MM:DD:HH:mm:ss. Where:
• YYYY = 4-digit year
• MM = 2-digit month in the range 01 through 12
• DD = 2-digit day in the range 01 through 31
• HH = 2-digit hour in the range 00 through 23
• mm = 2-digit minute in the range 00 through 59
• ss = 2-digit second in the range 00 through 59
Usage Guidelines
Set the clock to adjust the system clock for such things as timing drift, day-light savings adjustment, etc. New
settings are immediately applied to all CPUs in the system.
This command should only be used if there is no NTP server enabled for any context. If NTP is running
on the system, this command returns a failure.
Important
   Command Line Interface Reference, Modes E - F, StarOS Release 19
456
Exec Mode Commands (A-C)
clock set