Operation Manual -- NTP
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration
Huawei Technologies Proprietary
1-23
[Quidway1] ntp-service authentication enable
# Set the MD5 key to 42, with the content being aNiceKey.
[Quidway1] ntp-service authentication-keyid 42 authentication-model md5
aNiceKey
# Specify the key to be a trusted key.
[Quidway1] ntp-service reliable authentication-keyid 42
After the above configuration, the S3900 series switch can be synchronized to
Quidway1. You can view the status of S3900 after the synchronization.
[S3900] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequence: 250.0000 Hz
Actual frequence: 249.9992 Hz
Clock precision: 2^19
Clock offset: 0.66 ms
Root delay: 27.47 ms
Root dispersion: 208.39 ms
Peer dispersion: 9.63 ms
Reference time: 17:03:32.022 UTC Thu Sep 6 2001 (BF422AE4.05AEA86C)
The output information indicates that S3900 is synchronized to Quidway1, with the
clock stratum being 3, one stratum higher than Quidway1.
# View the information about the NTP sessions of S3900 and you can see that a
connection is established between S3900 and Quidway1.
[S3900] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[5]1.0.1.11 127.127.1.0 2 1 64 1 350.1 15.1 0.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured