May 10, 2014

How to configure NTP In Wireless Lab

In CCIE Wireless Lab, we need to synchronize time with NTP for Switch/WLC/Autonomous AP
LAP cannot join WLC if the time is not current.


What is NTP?

Network Time Protocol (NTP) is a protocol designed to time-synchronize. NTP runs over UDP port 123. Proper time synchronization is crucial when setting up a Unified Wireless Network. In addition, proper time synchronization will help you correlating log files.

NTP uses the concept of a “stratum” to describe how many NTP “hops” away a machine is from an authoritative time source. A “stratum 1” time server typically has a radio or atomic clock directly attached, a “stratum 2” time server receives its time through NTP from a “stratum 1” time server, and so on. A machine running NTP will automatically choose as its time source the machine with the lowest stratum number that it is configured to communicate with through NTP.

The communications between machines running NTP (known as associations) are usually statically configured; each machine is given the IP address of all machines with which it should form associations.

Simple Network Time Protocol (SNTP) is a simplified, client-only version of NTP that is used on autonomous access points. SNTP can only receive the time from NTP servers; it cannot be used to provide time services to other systems. SNTP typically provides time within 100 milliseconds of the accurate time, but it does not provide the complex filtering and statistical mechanisms of NTP.


Example for Basic NTPCommands
-------------------------------------------------------------------
! Configure NTP on the Switch !
Switch(config)# clock timezone UTC 0
Switch(config)# ntp server 192.168.129.13 
  

! Configure NTP on the WLC !
(WLC) > config time ntp server 1 192..168.129.13
              config time ntp server

(WLC) > config time ntp server 3600


! Configure SNTP on the Autonomous AP !
AP(config) > sntp server 192.168.129.13

! show commands on Switch !
show clock
show ntp sta

! show commands on WLC !
show time
-------------------------------------------------------------------


Unified, Managing the System Date and Time: www.cisco.com/en/US/docs/wireless/controller/7.0MR1/configuration/guide/cg_gettingstarted.html#wp1144340

Autonomous, Configuring SNTP: www.cisco.com/en/US/partner/docs/wireless/access_point/12.4.25d.JA/Configuration/guide/scg12.4.25d.JA-chap5-admin.html#wp1036274

No comments:

Post a Comment