Operation Manual -- NTP
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration
Huawei Technologies Proprietary
1-21
# Enter VLAN-interface 2 view.
[[S3900-2] interface Vlan-interface 2
# Configure S3900-2 to be a multicast client.
[S3900-2-Vlan-interface2] ntp-service multicast-client
The above configuration configures S3900-1 and S3900-2 to listen to multicast packets
through their VLAN interface 2, and Quidway3 to advertise multicast packets through
VLAN interface 2. Because S3900-2 does not reside in the same network segment with
Quidway3, S3900-2 cannot receive multicast packets sent by Quidway3, while
S3900-1 is synchronized to Quidway3 after receiving multicast packets sent by
Quidway3.
View the status of S3900-1 after the synchronization.
[S3900-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 S3900-1 is synchronized to Quidway3, with the
clock stratum being 3, one stratum higher than Quidway3.
# View the information about the NTP sessions of S3900-1 and you can see that a
connection is established between S3900-1 and Quidway3.
[s3900-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 NTP Server Mode with Authentication Configuration
I. Network requirements
The local clock of Quidway1 operates as the master NTP clock, with the clock stratum
set to 2.