You are on page 1of 1

NTP

Key Commands
Ntp master 2 <- makes it a master with stratum 2 Clock calendar-valid Clock timezone EST -4 Client: Ntp update-calendar Ntp server 10.1.1.1 Clock timezone EST -5 Clock summer-time PDT recurring Authentication (in global): Ntp authenticate Ntp authentication-key 1 md5 MyKey Ntp trusted-key 1

Shows and Debugs


Show Show Show Show calendar clock [detail] net associations ntp status

Additional Commands
In broadcast mode (global configs) Ntp broadcast version 1 <- sends out ntp broadcasts Ntp broadcast client Ntp broadcastdelay miliseconds <- setup Access restriction Ntp access-group [query-only|serve-only|serve|peer] access-list-number ntp source loop 0 <- uses l0's ip address as source interface ethernet 0 ntp disable <- to disable on that specific int. ntp update-calendar <- ntp updates rtr's calendar For Banyan VINES (in global) Vines time use-system <- distributes clock to other VINES systems Vines time set-system <- receives VINES time svcs

clock timezone zone hours clock summer-time .. sets Daylight savings params. Clock read-calendar <- set clock from calendar

Spot The Issue


When multiple clock sources are available (VINES, Manual Configs, etc), NTP will be considered as more authoritative. A machine will never synchronize to an NTP server if the server is not synchronized itself. Synchronization can take up to 30 minutes since IOS is looking for a stable source, and will not update until it is satisfied.

Notes

You might also like