Instructions on NTP time synchronization server configuration

Source: Internet
Author: User
Tags net time

Many of us have already used Cisco routers quite well. However, in the face of the NTP time synchronization server configuration, we may not all know about it. Here we will introduce it to you.

For the purpose of network management, we set up netflow to monitor traffic and obtain detailed access records for Intranet users to access the Internet. Such records can be accurate to seconds, the premise is that the time of the monitored vro or vswitch and other network devices must be absolutely synchronized with the time of the server where the monitoring log is located (either win or solaris.

For Windows system time synchronization, you can click the time in the lower-right corner, select Internet time, and set the time synchronization server. The synchronization method between win2000 and 2003 is slightly more complex. The detailed process is described below.

It is also very simple to synchronize cisco routers or switches. You only need to know about NTP:

NTP: Network Time Protocol

Some Cisco devices do not have a clock. Once restarted, the clock is reset to the initial time, which is why we use NTP. NTP can be used to synchronize with the first-and second-level clock sources on the Internet. We can query http://www.eecis.udel.edu /~ Mills/ntp/clock1a.html to find the clock source closest to its own location.

Configuration method:

// Router 7206

Conf t

Ntp source FastEthernet0/1 // specify the update source address to overwrite the configuration in the ntp server

Ntp update-calendar // If a device has a hardware clock, update the hardware clock at the same time.

Ntp server 202.155.248.218 source FastEthernet0/1 // specify the update Destination Address, Hong Kong, and the update source interface to f0/1.

Int f0/1

Ntp enable

At this time, you should have obtained the time, but note that the time zone is correct. The default value is Greenwich Mean Time. to change it to Beijing time, the following steps are essential.

Clock timezone BeiJing 8 // the last number 8, representing the + 8 time zone.

Verification Method:

Show ntp status

Show ntp associate

Written by cracker

Cuijian.vip@gmail.com

Http://blog.sina.com.cn/cisco

Once the association is established, we can synchronize the clock of the win log monitoring server with the CISCO router to ensure absolute synchronization of the clock, ensure that our network access logs are accurate to the unit of seconds.

Win2000 and 2003 synchronization methods are not as simple as XP

Execute in DOS status:

Net time/setsntp: 202.155.248.218 // Hong Kong

W32tm-once can be used to synchronize NTP time on the server immediately

In addition, here we will explain the two NTP usage methods:

Ntp server the local device updates its own time through the remote clock source, one-way.

Ntp peer the device can both receive clock synchronization and provide a two-way clock for the remote device.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.