Operation Manual – NTP
Quidway S3100 Series Ethernet Switches
Chapter 1 NTP Configuration
Huawei Technologies Proprietary
1-12
Caution:
z
The source IP address in an NTP packet is the address of the sending interface
specified by the
ntp-service unicast-server
command or the
ntp-service
unicast-peer
command if you provide the address of the sending interface in these
two commands.
z
Dynamic connections can only be established when a switch operates in passive
peer mode, NTP broadcast client mode, or NTP multicast client mode. In other
modes, the connections established are static.
1.6 Displaying and Debugging NTP
After the above configuration, you can execute the
display
command in any view to
display the running status of the NTP configuration, and verify the effect of the
configuration.
Table 1-7
Display and debug NTP
Operation
Command
Display the status of NTP service
display ntp-service status
Display the information about the
sessions maintained by NTP
display ntp-service sessions
[
verbose
]
Display the brief information about the
NTP time servers of the reference clock
sources that the local device traces to
display ntp-service trace
1.7 Configuration Example
1.7.1 NTP Server Mode Configuration
I. Network requirements
Configure the local clock of Quidway1 to be NTP master clock, with the stratum being 2.
Note:
Quidway1 is a switch that allows the local clock to be the master clock.
An S3100 series switch operates in client mode, with Quidway1 as the time server.
Quidway1 operates in server mode automatically.