Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Configuring Network Time Protocol (NTP) Configuring NTP
OmniSwitch 6600 Family Switch Management Guide March 2005 page 3-9
NTP Servers
An NTP client needs to receive NTP updates from and NTP server. Each client must have at least one
server with which it synchronizes (unless it is operating in broadcast mode). There are also adjustable
server options.
Designating an NTP Server
To configure a client to synchronize with an NTP server, enter the ntp server command with the server IP
address or domain name, as shown:
-> ntp server 1.1.1.1
or
-> ntp server spartacus
It is possible to remove an NTP server from the list of servers from which a client synchronizes. To do
this, enter the ntp server command with the no prefix, as shown:
-> no ntp server 1.1.1.1
Setting the Minimum Poll Time
The minimum poll time is the number of seconds that the switch waits before requesting a time synchroni-
zation from the NTP server. This number is determined by raising 2 to the power of the number entered
using the ntp server command with the server IP address (or domain name) and the minpoll keyword.
For example, to set the minimum poll time to 128 seconds, enter the following:
-> ntp server 1.1.1.1 minpoll 7
This would set the minimum poll time to 2
7
= 128 seconds.
Setting the Version Number
There are currently four versions of NTP available (numbered one through four). The version that the NTP
server uses must be specified on the client side.
To specify the NTP version on the server from which the switch receives updates, use the ntp server
command with the server IP address (or domain name), version keyword, and version number, as shown:
-> ntp server 1.1.1.1 version 3
The default setting is version 4.
Marking a Server as Preferred
If a client receives timestamp updates from more than one server, it is possible to mark one of the servers
as the preferred server. A preferred server’s timestamp will be used before another unpreferred server
timestamp.
To specify an NTP as preferred, use the ntp server command with the server IP address (or domain name)
and the prefer keyword, as shown:
-> ntp server 1.1.1.1 prefer