Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
32 views

Network Time Protocol (NTP)

The document provides key commands and additional information about configuring and using NTP on Cisco routers. It lists commands for making a router an NTP master or client, setting authentication and trusted keys, and viewing NTP status and associations. It also covers commands for enabling NTP broadcasts, access restrictions, and updating the system clock and calendar from NTP. Potential issues with clock synchronization from multiple sources are discussed.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Network Time Protocol (NTP)

The document provides key commands and additional information about configuring and using NTP on Cisco routers. It lists commands for making a router an NTP master or client, setting authentication and trusted keys, and viewing NTP status and associations. It also covers commands for enabling NTP broadcasts, access restrictions, and updating the system clock and calendar from NTP. Potential issues with clock synchronization from multiple sources are discussed.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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