Ntp Configuration Examples - H3C S3610-28P Operation Manual

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – NTP
H3C S3610&S5510 Series Ethernet Switches

1.8 NTP Configuration Examples

1.8.1 Configuring NTP Server/Client Mode
I. Network requirements
The local clock of Device A is to be used as a reference source, with the stratum
level of 2.
Device B works in the server/client mode and Device A is to be used as the NTP
server of Device B.
II. Network diagram
Figure 1-7 Network diagram for NTP server/client mode configuration
III. Configuration procedure
1)
Configuration on Device A:
# Specify the local clock as the reference source, with the stratum level of 2.
<DeviceA> system-view
[DeviceA] ntp-service refclock-master 2
2)
Configuration on Device B:
# View the NTP status of Device B before clock synchronization.
<DeviceB> display ntp-service status
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^7
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)
# Specify Device A as the NTP server of Device B so that Device B is synchronized to
Device A.
<DeviceB> system-view
[DeviceB] ntp-service unicast-server 1.0.1.11
# View the NTP status of Device B after clock synchronization.
1-18
Chapter 1 NTP Configuration

Advertisement

Table of Contents
loading

Table of Contents