R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
96
NOTE:
The procedure of confi
g
urin
g
NTP authentication on a server is the same as that on a client, and the same
authentication key must be configured on both the server and client sides.
Displaying and maintaining NTP
To do… Use the command…
Remarks
View the information of NTP service
status
display ntp-service status Available in any view
View the information of NTP sessions display ntp-service sessions [ verbose ] Available in any view
View the brief information of the NTP
servers from the local device back to the
primary reference source
display ntp-service trace Available in any view
NTP configuration examples
Configuring NTP client/server mode
Network requirements
• The local clock of Firewall A is to be used as a reference source, with the stratum level of 2.
• Firewall B works in the client/server mode and Firewall A is to be used as the NTP server of Firewall
B.
Figure 42 Network diagram for NTP client/server mode configuration
Configuration procedure
1. Configuration on Firewall A:
# Specify the local clock as the reference source, with the stratum level of 2.
<FirewallA> system-view
[FirewallA] ntp-service refclock-master 2
2. Configuration on Firewall B:
# View the NTP status of Firewall B before clock synchronization.
<FirewallB> 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