Configuring Ntp Server/Client Mode With Authentication - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

[DeviceC] interface Vlan-interface 2
[DeviceC-Vlan-interface2] ntp-service multicast-server
2)
Configure Device A (perform the same configuration on Device D).
# Enter system view.
<DeviceA> system-view
# Set Device A as a multicast client to listen to multicast messages through VLAN-interface 2.
[DeviceA] interface Vlan-interface 2
[DeviceA-Vlan-interface2] ntp-service multicast-client
After the above configurations, Device A and Device D respectively listen to multicast messages
through their own VLAN-interface 2, and Device C advertises multicast messages through
VLAN-interface 2. Because Device A and Device C do not share the same network segment, Device A
cannot receive multicast messages from Device C, while Device D is synchronized to Device C after
receiving multicast messages from Device C.
View the NTP status of Device D after the clock synchronization.
[DeviceD] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 3.0.1.31
Nominal frequency: 60.0002 Hz
Actual frequency: 60.0002 Hz
Clock precision: 2^18
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 Apr 2 2007 (BF422AE4.05AEA86C)
The output information indicates that Device D is synchronized to Device C, with a clock stratum level of
3, one stratum level lower than that Device C.
# View the information about the NTP sessions of Device D (you can see that a connection is
established between Device D and Device C).
[DeviceD] display ntp-service sessions
source
**************************************************************************
[1234]3.0.1.31
note:
1
source(master),2
associations :

Configuring NTP Server/Client Mode with Authentication

Network requirements
The local clock of Device A is set as the NTP master clock, with a clock stratum level of 2.
Device B is an S5100-SI/EI Ethernet switch and uses Device A as the NTP server. Device B is set
to work in client mode, while Device A works in server mode automatically.
The NTP authentication function is enabled on Device A and Device B.
reference
stra reach poll
127.127.1.0
source(peer),3
1
now offset
2
1
64
377
selected,4
1-21
delay disper
26.1
199.53
9.7
candidate,5
configured
Total

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents