NTP and PTP Flashcards
What port is used by NTP?
UDP 123
What services on a Cisco router could be affected by NTP being inaccurate?
- Certificates
- Log Files
- VPN encryption keys
- Password expirations
What purpose does Stratum serve in NTP?
It defines which NTP source should be most preferred when multiple sources exist. Lowest is best.
In NTP, which “Stratum” is considered best?
Stratum 0
What is the command to manually set the time on a router?
From privileged exec mode!
R1# clock set hh:mm:ss
What is the command to set the time-zone on a router?
R1(config)# clock timezone NAME {offset}
example: R1(config)# clock timezone EASTERN -5
What is the command to make a router the main NTP source?
R1(config)# ntp master {stratum-number}
What is the command to set a NTP source for a router?
R1(config)# ntp server {ip-address}
NOTE: Multiple NTP servers can be set
What is the command to set daylight savings time on a router?
R1(config)# clock summer-time NAME {many options [ ] [ ]}
What are NTP peers?
When a couple of NTP devices point to each other for NTP redundancy to keep each other’s clocks in sync in the event that external NTP sources become unreachable.
What is the command to set a NTP peer?
R1(config)# ntp peer {ip_address}
What is PTP?
Precision Time Protocol (PTP) is defined in IEEE 1588 as Precision Clock Synchronization for Networked
Measurements and Control Systems, and was developed to synchronize the clocks in packet-based networks
that include distributed device clocks of varying precision and stability. PTP is designed specifically for
industrial, networked measurement and control systems, and is optimal for use in distributed systems because
it requires minimal bandwidth and little processing overhead.