
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 <address> [<keyId> <version> <minpol>] [prefer]
where <address> is the either the domain name or IP address of the peer machine. The
optional configuration items are described below:
<keyId>. An unsigned 32-bit integer key identifier for encryption authentication. The
default is for no key ID.
<version>. 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.
<minpol>. 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 <return>. A brief message appears confirming the addition of a
new peer.