29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring NTP<br />

Configuring Network Time Protocol (NTP)<br />

NTP Servers<br />

An NTP client needs to receive NTP updates from an NTP server. Each client must have at least one<br />

server with which it synchronizes (unless it is operating in broadcast mode). There are also adjustable<br />

server options.<br />

Designating an NTP Server<br />

To configure an NTP client to receive updates from an NTP server, enter the ntp server command with<br />

the server IP address or domain name, as shown:<br />

or<br />

-> ntp server 1.1.1.1<br />

-> ntp server spartacus<br />

It is possible to remove an NTP server from the list of servers from which a client synchronizes. To do<br />

this, enter the ntp server command with the no prefix, as shown:<br />

-> no ntp server 1.1.1.1<br />

Enabling/Disabling NTP Server Synchronization Tests<br />

To enable an NTP client to invoke NTP server synchronization tests as specified by the NTP protocol,<br />

enter the ntp server synchronized command as shown:<br />

-> ntp server synchronized<br />

NTP synchronization is enabled by default.<br />

Note. The NTP protocol discards the NTP servers that are unsynchronized.<br />

To disable an NTP client from invoking tests for NTP server synchronization, enter the<br />

ntp server unsynchronized command, as shown:<br />

-> ntp server unsynchronized<br />

Disabling peer synchronization tests allows the NTP client to synchronize with either an NTP peer that is<br />

not synchronized with an atomic clock or a network of NTP servers that will finally synchronize with an<br />

atomic clock.<br />

Setting the Minimum Poll Time<br />

The minimum poll time is the number of seconds that the switch waits before requesting a time synchronization<br />

from the NTP server. This number is determined by raising 2 to the power of the number entered<br />

using the ntp server command with the server IP address (or domain name) and the minpoll keyword.<br />

For example, to set the minimum poll time to 128 seconds, enter the following:<br />

-> ntp server 1.1.1.1 minpoll 7<br />

This would set the minimum poll time to 2 7 = 128 seconds.<br />

page 11-10 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!