Network Time Protocol (NTP)
Network Time Protocol (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
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
Notes