Configuring a new peer association, Configuring a new peer association -12 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual
Page 290
![background image](/manuals/39732/290/background.png)
NTP Configuration Menu
Page 12-12
Configuring a New Peer Association
When you have configured the
NTP
client and/or server, you will need to set at least one
peer association for the switch. An
NTP
peer is a machine of the same stratum that will
compare and check time information sent from the switch, and in turn send time information
to the switch.
To configure a new peer, enter the
ntpaddpeer
command in the following manner:
ntpaddpeer [
where
is the either the domain name or IP address of the peer machine. The
optional configuration items are described below:
. An unsigned 32-bit integer key identifier for encryption authentication. The
default is for no key
ID
.
The version of
NTP
being used. The options are versions 1, 2, or 3. If no
number is entered, it is assumed that version 3 is being used.
The minimum poll interval for time checks to this peer. The number entered is
seconds raised to the power of 2.
prefer
. An identifier that marks this peer as a preferred source of time information. In a
situation where multiple peers could provide time information to this client, the preferred
peer is the one that is used.
For example, to add a peer with an address of 1.1.1.1, a key identifier of 5, using version 3 of
NTP
, minimum poll of 16 seconds, and marked as a preferred server, you would enter the
following:
ntpaddpeer 1.1.1.1 5 3 4 prefer
When you have finished press
. A brief message appears confirming the addition of a
new peer.