NTP Configuration on router

NTP configuration on the router is pretty simple.

Make your router as NTP server-
1. Set the clock on the router. You can use "clock" command in the privilege mode to set the time.
2. In order to configure it as master, configure the router as -
"ntp master <stratum>". The stratum number from 1 to 15. Indicates the NTP stratum number that the system will claim.
This will make your router as master.


06:49:10.078 UTC Sun Mar 22 2015
ntp master 5


NTP client configuration-
1. Configure ntp master server address in the privilege mode-

ntp server <ip address of ntp master>


Validating NTP associations-

Check its clock

R1#show clock

06:58:15.888 UTC Sun Mar 22 2015

R1#show ntp associations

  address         ref clock       st   when   poll reach  delay  offset   disp
*~157.26.1.254    .LOCL.           1   1021   1024   377  0.706  -0.926  0.054
 * sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured





Comments

Popular posts from this blog

Status: Local Agent is not responding. This may be due to Master or Local Agent being down.

Understanding code yellow