Displaying and maintaining ntp, Ntp configuration examples, Configuring ntp client/server mode – H3C Technologies H3C SecBlade NetStream Cards User Manual
Page 214: Network requirements, Configuration procedure

199
Displaying and maintaining NTP
To do…
Use the command…
Remarks
Display information about NTP
service status
display ntp-service status
Available in any view
Display information about NTP
sessions
display ntp-service sessions
[ verbose ]
Available in any view
Display the brief information about
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
Perform the following configurations to synchronize the time between SecBlade and Device:
•
As shown in
, the local clock of Device is to be used as a reference source, with the stratum
level of 2.
•
SecBlade works in client/server mode and Device is to be used as the NTP server of SecBlade.
Figure 61 Network diagram for NTP client/server mode configuration
Configuration procedure
1.
Set the IP address for each interface as shown in
, and add interfaces to the same VLAN.
The configuration procedure is omitted.
2.
Configuration on Device:
# Specify the local clock as the reference source, with the stratum level of 2.
[Device] ntp-service refclock-master 2
3.
Configuration on SecBlade:
# View the NTP status of SecBlade before clock synchronization.
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 64.0000 Hz