Setting The Date And Time Using An Ntp Server; Setting The Date And Time Manually - Cisco PIX 500 Series Configuration Manual

Security appliance command line
Hide thumbs Also See for PIX 500 Series:
Table of Contents

Advertisement

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:
To configure authentication with an NTP server, perform the following steps:
Step 1
a.
b.
c.
Step 2
To identify an NTP server, enter the following command:
hostname(config)# ntp server ip_address [key key_id ] [source interface_name] [prefer]
Where the key_id is the ID you set in
The source interface_name identifies the outgoing interface for NTP packets if you do not want to use
the default interface in the routing table. Because the system does not include any interfaces in multiple
context mode, specify an interface name defined in the admin context.
The prefer keyword sets this NTP server as the preferred server if multiple servers have similar
accuracy. NTP uses an algorithm to determine which server is the most accurate and synchronizes to that
one. If servers are of similar accuracy, then the prefer keyword specifies which of those servers to use.
However, if a server is significantly more accurate than the preferred one, the security appliance uses the
more accurate one. For example, the security appliance uses a server of stratum 2 over a server of
stratum 3 that is preferred.
You can identify multiple servers; the security appliance uses the most accurate server.

Setting the Date and Time Manually

To set the date time manually, enter the following command:
Cisco Security Appliance Command Line Configuration Guide
8-4
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 saving time. By default,
the value is 60 minutes.
To enable authentication, enter the following command:
hostname(config)# ntp authenticate
To specify an authentication key ID to be a trusted key, which is required for authentication with an
NTP server, enter the following command:
hostname(config)# ntp trusted-key key_id
Where the key_id is between 1 and 4294967295. You can enter multiple trusted keys for use with
multiple servers.
To set a key to authenticate with an NTP server, enter the following command:
hostname(config)# ntp authentication-key key_id md5 key
Where key_id is the ID you set in Step 1b using the ntp trusted-key command, and key is a string
up to 32 characters in length.
Step 1b
using the ntp trusted-key command.
Chapter 8
Configuring Basic Settings
OL-12172-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asa 5500 series

Table of Contents