Operation Manual – NTP
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
NTP Configuration
1-22
[S3600] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
After the above configurations, S3600 is ready to synchronize with H3C1. Because the
NTP authentication function is not enabled on H3C1, S3600 will fail to be synchronized
to H3C1.
To synchronize the S3600 Ethernet switch, you need to perform the following
configurations on H3C1.
# Enable the NTP authentication function on H3C1.
[H3C1] system-view
[H3C1] ntp-service authentication enable
# Configure an MD5 authentication key, with the key ID being 42 and the key being
aNiceKey.
[H3C1] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[H3C1] ntp-service reliable authentication-keyid 42
(After the above configurations, the S3600 Ethernet switch can be synchronized to
H3C1.) View the status of S3600 after synchronization.
[S3600] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequency: 60.0002 Hz
Actual frequency: 60.0002 Hz
Clock precision: 2^18
Clock offset: 0.0000 ms
Root delay: 9.54 ms
Root dispersion: 26.42 ms
Peer dispersion: 10.96 ms
Reference time: 07:05:43.263 UTC Apr 25 2006(C7F848C7.438348F5)
The output information indicates that S3600 is synchronized to H3C1, with a clock
stratum level of 3, one stratum level lower than that H3C1.
# View the information about NTP sessions of S3600 (You can see that a connection is
established between S3600 and H3C1).
<S3600> display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[5]1.0.1.11 127.127.1.0 2 255 64 39 0.0 9.5 5.1
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured