286 CHAPTER 11: SYSTEM MANAGEMENT

Table 333 Displaying and Debugging NTP

Operation

Command

 

 

Display the status of sessions maintained by

display ntp-service sessions [

NTP service

verbose ]

Display the brief information about every NTP

display ntp-service trace

time server on the way from the local

 

equipment to the reference clock source.

 

Debug NTP

debugging ntp-service

 

 

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

SW77001

SW77000

SW77002

SW77003

SW77004

SW77005

Configure the Switch SW77501:

1Enter system view.

<SW77501>system-view

2Set the local clock as the NTP master clock at stratum 2.

[SW77501]ntp-service refclock-master 2

Configure Ethernet Switch SW77502:

1Enter system view.

<SW77502>system-view

2Set SW77501 as the NTP server.

[SW77502]ntp-service unicast-server 1.0.1.11

Page 286
Image 286
3Com 10014298 manual Example Configuring NTP Servers, Configure the Switch SW77501 Enter system view