EasyManua.ls Logo

HP 5820X Switch - Configuring NTP Examples; Configuring NTP Client;Server Mode Example

HP 5820X Switch
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
68
Configuring NTP examples
Configuring NTP client/server mode example
Network requirements
Perform the following configurations to synchronize the time between Switch B and Switch A:
As shown in Figure 25,
the local clock of Switch A is to be used as a reference source, with the
stratum level of 2.
Switch B works in client/server mode and Switch A is to be used as the NTP server of Switch B.
Figure 25 Network diagram for NTP client/server mode configuration
Configuration procedure
1. Set the IP address for each interface as shown in Figure 25. The configuration procedure is omitted.
2. Configuration on Switch B:
# View the NTP status of Switch B before clock synchronization.
<SwitchB> display ntp-service status
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 64.0000 Hz
Actual frequency: 64.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 Switch A as the NTP server of Switch B so that Switch B is synchronized to Switch A.
<SwitchB> system-view
[SwitchB] ntp-service unicast-server 1.0.1.11
# View the NTP status of Switch B after clock synchronization.
[SwitchB] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequency: 64.0000 Hz
Actual frequency: 64.0000 Hz
Clock precision: 2^7
Clock offset: 0.0000 ms
Root delay: 31.00 ms

Table of Contents

Related product manuals