i
Table of Contents
1 NTP Configuration·····································································································································1-1
Introduction to NTP ·································································································································1-1
Applications of NTP·························································································································1-1
Implementation Principle of NTP·····································································································1-2
NTP Implementation Modes············································································································1-3
NTP Configuration Task List ···················································································································1-6
Configuring NTP Implementation Modes································································································1-6
Configuring NTP Server/Client Mode······························································································1-6
Configuring the NTP Symmetric Peer Mode ···················································································1-7
Configuring NTP Broadcast Mode···································································································1-8
Configuring NTP Multicast Mode·····································································································1-9
Configuring Access Control Right·········································································································1-10
Configuration Prerequisites ···········································································································1-10
Configuration Procedure················································································································1-10
Configuring NTP Authentication············································································································1-10
Configuration Prerequisites ···········································································································1-11
Configuration Procedure················································································································1-11
Configuring Optional NTP Parameters ·································································································1-13
Configuring an Interface on the Local Device to Send NTP Messages········································1-13
Configuring the Number of Dynamic Sessions Allowed on the Local Device·······························1-14
Disabling an Interface from Receiving NTP messages·································································1-14
Displaying and Maintaining NTP Configuration ····················································································1-14
NTP Configuration Examples················································································································1-14
Configuring NTP Server/Client Mode····························································································1-14
Configuring NTP Symmetric Peer Mode ·······················································································1-16
Configuring NTP Broadcast Mode·································································································1-17
Configuring NTP Multicast Mode···································································································1-19
Configuring NTP Server/Client Mode with Authentication·····························································1-20