10-3
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter10 Configuring Basic Settings
Setting the Date and Time

Setting the Domain Name

To set the domain name, enter the following command:
Setting the Date and Time
This section includes the following topics:
Setting the Time Zone and Daylight Saving Time Date Range, page10-3
Setting the Date and Time Using an NTP Server, page10-4
Setting the Date and Time Manually, page10-6

Setting the Time Zone and Daylight Saving Time Date Range

To change the time zone and daylight saving time date range, perform the following steps:
Command Purpose
domain-name name
Example:
hostname(config)# domain-name example.com
Specifies the domain name for the ASA.
The ASA appends the domain name as a suffix to unqualified names. For
example, if you set the domain name to “example.com,” and specify a
syslog server by the unqualified name of “jupiter,” then the ASA qualifies
the name to “jupiter.example.com.”
The default domain name is default.domain.invalid.
For multiple context mode, you can set the domain name for each context,
as well as within the system execution space.
Command Purpose
Step1 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.
Step2 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.