1-5
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring Basic Settings
Setting the Date and Time
Setting the Time Zone and Daylight Saving Time Date Range
To set the time zone and daylight saving time date range, perform the following steps:
Command
Purpose
Step 1
clock timezone
zone
[
-
]
hours
[
minutes
]
Example:
hostname(config)# clock
timezone PST -8
Sets the time zone. By default, the time zone is UTC and the daylight saving time date
range is from 2:00 a.m. on the first Sunday in April to 2:00 a.m. on the last Sunday in
October.
Where
zone
specifies the time zone as a string, for example,
PST
for Pacific Standard
Time.
The [
-
]
hours
value sets the number of hours of offset from UTC. For example, PST is
-8
hours.
The
minutes
value sets the number of minutes of offset from UTC.
Step 2
To change the date range for daylight saving time from the default, enter one of the following commands. The default
recurring date range is from 2:00 a.m. on the second Sunday in March to 2:00 a.m. on the first Sunday in November.
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
,
Tuesday
,
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.
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......