Displaying and maintaining ntp, Ntp configuration examples, Ntp client/server mode configuration example – H3C Technologies H3C SecPath F1000-E User Manual
Page 123: Network requirements, Configuration procedure
112
Displaying and maintaining NTP
Task Command
Remarks
Display information about NTP
service status.
display ntp-service status [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display information about NTP
sessions.
display ntp-service sessions
[ verbose ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display brief information about the
NTP servers from the local device
back to the primary reference
source.
display ntp-service trace [ | { begin
| exclude | include }
regular-expression ]
Available in any view
NTP configuration examples
NTP client/server mode configuration example
In this configuration example, either Device A or Device B is the SecPath firewall.
Network requirements
As shown in
, configure Device A as the reference source, with the stratum level 2. Configure
Device B to operate in client/server mode and use Device A as its NTP server.
Figure 50 Network diagram
Configuration procedure
1.
Set the IP address for each interface as shown in
. (Details not shown.)
2.
Configuration on Device A:
# Specify the local clock as the reference source, with the stratum level of 2.
[DeviceA] ntp-service refclock-master 2
3.
Configuration on Device B:
# View the NTP status of Device B before clock synchronization.
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 64.0000 Hz
Actual frequency: 64.0000 Hz
Clock precision: 2^7
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS