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 Tasks ························································································································1-5
Configuring NTP Implementation Modes ································································································1-5
Configuring NTP Server/Client Mode ······························································································1-6
Configuring the NTP Symmetric Peer Mode ···················································································1-6
Configuring NTP Broadcast Mode···································································································1-7
Configuring NTP Multicast Mode·····································································································1-8
Configuring Access Control Right ···········································································································1-9
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 Switch to Send NTP messages ········································1-13
Configuring the Number of Dynamic Sessions Allowed on the Local Switch ·······························1-13
Disabling an Interface from Receiving NTP messages·································································1-14
Displaying NTP Configuration···············································································································1-14
Configuration Example··························································································································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