10-4
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter10 Configuring Basic Settings
Setting the Date and Time
Setting the Date and Time Using an NTP Server
To obtain the date and time from an NTP server, perform the following steps:
Detailed Steps
clock summer-time zone
date {day month | month
day} year hh:mm {day
month | month day} year
hh:mm [offset]
Example:
hostname(config)# clock
summer-time PDT 1 April
2010 2:00 60
Sets the start and end dates for daylight saving time as a specific date in a specific year.
If you use this command, you need to reset the dates every year.
The zone value specifies the time zone as a string, for example, PDT for Pacific
Daylight Time.
The day value sets the day of the month, from 1 to 31. You can enter the day and month
as April 1 or as 1 April, for example, depending on your standard date format.
The month value sets the month as a string. You can enter the day and month as April
1 or as 1 April, depending on your standard date format.
The year value sets the year using four digits, for example, 2004. The year range is
1993 to 2035.
The hh:mm value sets the hour and minutes in 24-hour time.
The offset value sets the number of minutes to change the time for daylight saving
time. By default, the value is 60 minutes.
clock summer-time zone
recurring [week weekday
month hh:mm week weekday
month hh:mm] [offset]
Example:
hostname(config)# clock
summer-time PDT
recurring first Monday
April 2:00 60
Specifies the start and end dates for daylight saving time, in the form of a day and time
of the month, and not a specific date in a year.
This command enables you to set a recurring date range that you do not need to change
yearly.
The zone value specifies the time zone as a string, for example, PDT for Pacific
Daylight Time.
The week value specifies the week of the month as an integer between 1 and 4 or as
the words first or last. For example, if the day might fall in the partial fifth week, then
specify last.
The weekday value specifies the day of the week: Monday, Tuesd ay, Wednesday, and
so on.
The month value sets the month as a string.
The hh:mm value sets the hour and minutes in 24-hour time.
The offset value sets the number of minutes to change the time for daylight savings
time. By default, the value is 60 minutes.
Command Purpose
Command Purpose
Step1 ntp authenticate
Example:
hostname(config)# ntp
authenticate
Enables authentication with an NTP server.