29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring Network Time Protocol (NTP)<br />

NTP Quick Steps<br />

NTP Quick Steps<br />

The following steps are designed to show the user the necessary commands to set up NTP on an Omni<strong>Switch</strong>:<br />

1 Designate an NTP server for the switch using the ntp server command. The NTP server provides the<br />

switch with its NTP time information. For example:<br />

-> ntp server 198.206.181.139<br />

2 Activate the client side of NTP on the switch using the ntp client command. For example:<br />

-> ntp client admin-state enable<br />

3 You can check the server status using the show ntp server status command, as shown:<br />

-> show ntp server status 198.206.181.139<br />

IP address = 198.206.181.139,<br />

Host mode<br />

= client,<br />

Peer mode<br />

= server,<br />

Prefer<br />

= no,<br />

Version = 4,<br />

Key = 0,<br />

Stratum = 2,<br />

Minpoll<br />

= 6 (64 seconds),<br />

Maxpoll<br />

= 10 (1024 seconds),<br />

Delay<br />

= 0.016 seconds,<br />

Offset<br />

= -180.232 seconds,<br />

Dispersion<br />

= 7.945 seconds<br />

Root distance = 0.026,<br />

Precision = -14,<br />

Reference IP = 209.81.9.7,<br />

Status<br />

= configured : reachable : rejected,<br />

Uptime count = 1742 seconds,<br />

Reachability = 1,<br />

Unreachable count = 0,<br />

Stats reset count = 1680 seconds,<br />

Packets sent = 1,<br />

Packets received = 1,<br />

Duplicate packets = 0,<br />

Bogus origin = 0,<br />

Bad authentication = 0,<br />

Bad dispersion = 0,<br />

Last Event<br />

= peer changed to reachable,<br />

4 You can check the list of servers associated with this client using the show ntp client server-list<br />

command, as shown:<br />

-> show ntp client server-list<br />

IP Address Ver Key St Delay Offset Disp<br />

================+===+=======+====+==========+=================+==========<br />

1.2.5.6 4 0 2 0.06 -0.673 0.017<br />

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

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

Saved successfully!

Ooh no, something went wrong!