beautypg.com

5 configuring ntp server mode with authentication, I. network requirements – H3C Technologies H3C S3100 Series Switches User Manual

Page 483

background image

Operation Manual – NTP

H3C S3100-52P Ethernet Switch

Chapter 1 NTP Configuration

1-21

After the above configurations, S3100-52P-1 and S3100-52P-2 respectively listen to
multicast packets through their own Vlan-interface2, and H3C3 advertises multicast
packets through Vlan-interface2. Because S3100-52P-2 and S3100-52P-3 do not
share the same network segment, S3100-52P-2 cannot receive multicast packets from
H3C3, while S3100-52P-1 is synchronized to H3C3 after receiving multicast packets
from H3C3.
View the status of S3100-52P-1 after synchronization.

[S3100-52P-1] display ntp-service status

Clock status: synchronized

Clock stratum: 3

Reference clock ID: 3.0.1.31

Nominal frequency: 250.0000 Hz

Actual frequency: 249.9992 Hz

Clock precision: 2^19

Clock offset: 198.7425 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-1 is synchronized to H3C3, with a
clock stratum level of 3, one stratum level lower than that H3C3.
# View the information about the NTP sessions of S3100-52P-1 (You can see that a
connection is established between S3100-52P-1 and H3C3).

[S3100-52P-1] display ntp-service sessions

source reference stra reach poll now offset delay disper

**************************************************************************

[1]3.0.1.31 127.127.1.0 2 1 64 377 26.1 199.53 9.7

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

1.7.5 Configuring NTP Server Mode with Authentication

I. Network requirements

The local clock of H3C1 is set to the NTP master clock, with a clock stratum level of 2.
An S3100-52P Ethernet switch considers H3C1 as the NTP server and operates in
client mode, while H3C1 operates in server mode automatically. In addition, the NTP
authentication function is enabled on both sides.