3Com 10014298 Switch User Manual


 
286 CHAPTER 11: SYSTEM MANAGEMENT
NTP Configuration
Examples
NTP configuration examples are shown in the following:
Example: Configuring NTP Servers
Example: Configuring NTP Peers
Example: Configuring NTP Broadcast Mode
Example: Configuring NTP Multicast Mode
Example: Configuring Authentication-Enabled NTP Server Mode
Example: Configuring NTP Servers
On SW77501, set the local clock as the NTP master clock at stratum 2. On
SW77502, configure SW77501 as the time server in server mode and set the local
equipment as in client mode.
Figure 66 Typical NTP Configuration Networking Diagram
Configure the Switch SW77501:
1 Enter system view.
<SW77501>system-view
2 Set the local clock as the NTP master clock at stratum 2.
[SW77501]ntp-service refclock-master 2
Configure Ethernet Switch SW77502:
1 Enter system view.
<SW77502>system-view
2 Set SW77501 as the NTP server.
[SW77502]ntp-service unicast-server 1.0.1.11
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
Table 333 Displaying and Debugging NTP
Operation Command
SW77001
SW77002
SW77000
SW77003
SW77004
SW77005