beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 485

background image

Operation Manual – NTP

H3C S3100-52P Ethernet Switch

Chapter 1 NTP Configuration

1-23

# 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 S3100-52P Ethernet switch can be synchronized to
H3C1.) View the status of S3100-52P after synchronization.

[S3100-52P] 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 S3100-52P 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 S3100-52P (You can see that a
connection is established between S3100-52P and H3C1).

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