3Com 3.01.01 Switch User Manual


 
NTP 341
Displaying and Debugging NTP
After completing the previous configurations, you can use the display command
to show how NTP runs and verify the configurations according to the outputs. You
can use the debugging command, in user view, to debug NTP. See
Table 78 for
the details of these commands.
NTP Configuration
Examples
NTP configuration examples are shown in the following:
Configuring NTP Servers
Configuring NTP Peers
Configuring NTP Broadcast Mode
Configuring NTP Multicast Mode
Configuring Authentication-Enabled NTP Server Mode
Configuring NTP Servers
On SW88001, set the local clock as the NTP master clock at stratum 2. On
SW88002, configure SW88001 as the time server in server mode and set the local
equipment as in client mode.
Figure 8 Typical NTP Configuration Networking Diagram
Configure the Switch SW88001:
1 Enter system view.
<SW88001> system-view
2 Set the local clock as the NTP master clock at stratum 2.
[SW88001]ntp-service refclock-master 2
Table 78 Displaying and Debugging NTP
Operation Command
Display the status of NTP service display ntp-service status
Display the status of sessions maintained by
NTP service
display ntp-service sessions [ verbose ]
Display the brief information about every NTP
time server on the way from the local
equipment to the reference clock source.
display ntp-service trace
Debug NTP debugging ntp-service
SW88001
SW88002
SW88000
SW88003
SW88004
SW88005