Configuring Ntp Server/Client Mode With Authentication - 3Com E4500-24 Cli Configuration Manual

Hp e4500-24: user guide
Table of Contents

Advertisement

Root dispersion: 208.39 ms
Peer dispersion: 9.63 ms
Reference time: 17:03:32.022 UTC Apr 2 2007 (BF422AE4.05AEA86C)
The output information indicates that Device D is synchronized to Device C, with a clock stratum level of
3, one stratum level lower than that Device C.
# View the information about the NTP sessions of Device D (you can see that a connection is
established between Device D and Device C).
[DeviceD] display ntp-service sessions
source
**************************************************************************
[1234]3.0.1.31
note:
1
source(master),2
associations :

Configuring NTP Server/Client Mode with Authentication

Network requirements
The local clock of Device A is set as the NTP master clock, with a clock stratum level of 2.
Device B is an S4500 Ethernet switch and uses Device A as the NTP server. Device B is set to
work in client mode, while Device A works in server mode automatically.
The NTP authentication function is enabled on Device A and Device B.
Network diagram
Figure 1-10 Network diagram for NTP server/client mode with authentication configuration
Configuration procedure
Configure Device B.
# Enter system view.
<DeviceB> system-view
# Enable the NTP authentication function.
[DeviceB] ntp-service authentication enable
# Configure an MD5 authentication key, with the key ID being 42 and the key being aNiceKey.
[DeviceB] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key 42 as a trusted key.
[DeviceB] ntp-service reliable authentication-keyid 42
# Associate the trusted key with the NTP server (Device A).
[DeviceB] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
After the above configurations, Device B is ready to synchronize with Device A. Because the NTP
authentication function is not enabled on Device A, the clock of Device B will fail to be synchronized to
that of Device A.
reference
stra reach poll
127.127.1.0
source(peer),3
1
now offset
2
1
64
377
selected,4
1-21
delay disper
26.1
199.53
9.7
candidate,5
configured
Total

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500

Table of Contents