Ntp Configuration Examples; Configuring The Client/Server Mode - HP 6125G Configuration Manual

Network management and monitoring configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Task
Display information about
NTP sessions.
Display brief information
about the NTP servers from the
local device back to the
primary reference source.

NTP configuration examples

This section provides configuration examples for NTP.

Configuring the client/server mode

Network requirements
As shown in
Device B to operate in client/server mode and use Device A as its NTP server.
Figure 11 Network diagram
Configuration procedure
Set the IP address for each interface as shown in
1.
Configure Device B:
2.
# Display 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: 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 Device A as the NTP server of Device B so Device B synchronizes to Device A.
<DeviceB> system-view
[DeviceB] ntp-service unicast-server 1.0.1.11
# Display the NTP status of Device B after clock synchronization.
[DeviceB] display ntp-service status
Clock status: synchronized
Command
display ntp-service sessions
[ verbose ] [ | { begin | exclude |
include } regular-expression ]
display ntp-service trace [ | { begin |
exclude | include }
regular-expression ]
Figure 1
1, configure Device A as a reference source, with the stratum level 2. Configure
Figure
11. (Details not shown.)
22
Remarks
Available in any view
Available in any view

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents