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-7
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-11
Configuration Prerequisites ···········································································································1-11
Configuration Procedure················································································································1-12
Configuring Optional NTP Parameters ·································································································1-13
Configuring an Interface on the Local Switch to Send NTP messages ········································1-13
Configuring the Number of Dynamic Sessions Allowed on the Local Switch ·······························1-14
Disabling an Interface from Receiving NTP messages·································································1-14
Displaying NTP Configuration···············································································································1-14
Configuration Examples ························································································································1-15
Configuring NTP Server/Client Mode ····························································································1-15
Configuring NTP Symmetric Peer Mode ·······················································································1-16
Configuring NTP Broadcast Mode·································································································1-18
Configuring NTP Multicast Mode···································································································1-19
Configuring NTP Server/Client Mode with Authentication·····························································1-21