Configuration Examples; Configuring Ntp Server/Client Mode - H3C S5100-SI Operation Manual

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

Advertisement

Configuration Examples

Configuring NTP Server/Client Mode

Network requirements
The local clock of Device A (a switch) is to be used as a master clock, with the stratum level of 2.
Device A is used as the NTP server of Device B (an S5100-SI/EI Ethernet switch)
Configure Device B to work in the client mode, and then Device A will automatically work in the
server mode.
Network diagram
Figure 1-6 Network diagram for the NTP server/client mode configuration
Configuration procedure
Perform the following configurations on Device B.
# View the NTP status of Device B before synchronization.
<DeviceB> display ntp-service status
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 60.0002 Hz
Actual frequency: 60.0002 Hz
Clock precision: 2^18
Clock offset: 0.0000 ms
Root delay: 0.00 ms
Root dispersion: 0.00 ms
Peer dispersion: 0.00 ms
Reference time: 00:00:00.000 UTC Jan 1 1900 (00000000.00000000)
# Set Device A as the NTP server of Device B.
<DeviceB> system-view
[DeviceB] ntp-service unicast-server 1.0.1.11
# (After the above configurations, Device B is synchronized to Device A.) View the NTP status of Device
B.
[DeviceB] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequency: 60.0002 Hz
Actual frequency: 60.0002 Hz
Clock precision: 2^18
Clock offset: 0.66 ms
1-16

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents