R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

70
Configuration procedure
1. Set the IP address for each interface as shown in Figure 27. (Details not shown.)
2. Configure Router A:
# Specify the local clock as the reference source, with the stratum level 2.
<RouterA> system-view
[RouterA] ntp-service refclock-master 2
3. Configure Router B:
# Specify Router A as the NTP server of Router B.
<RouterB> system-view
[RouterB] ntp-service unicast-server 3.0.1.31
4. Configure Router C (after Router B is synchronized to Router A):
# Specify the local clock as the reference source, with the stratum level 1.
<RouterC> system-view
[RouterC] ntp-service refclock-master 1
# Configure Router B as a symmetric peer after local synchronization.
[RouterC] ntp-service unicast-peer 3.0.1.32
In the step above, Router B and Router C are configured as symmetric peers, with Router C in the
symmetric-active mode and Router B in the symmetric-passive mode. Because the stratus level of
Router C is 1 while that of Router B is 3, Router B synchronizes to Router C.
# Display the NTP status of Router B after clock synchronization.
[RouterB] display ntp-service status
Clock status: synchronized
Clock stratum: 2
Reference clock ID: 3.0.1.33
Nominal frequency: 64.0000 Hz
Actual frequency: 64.0000 Hz
Clock precision: 2^7
Clock offset: -21.1982 ms
Root delay: 15.00 ms
Root dispersion: 775.15 ms
Peer dispersion: 34.29 ms
Reference time: 15:22:47.083 UTC Sep 19 2005 (C6D95647.153F7CED)
The output shows that Router B has synchronized to Router C. The stratum level of Router B is 2, and
that of Router C is 1.
# Display the NTP session information of Router B, which shows that an association has been set
up between Router B and Router C.
[RouterB] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[245] 3.0.1.31 127.127.1.0 2 15 64 24 10535.0 19.6 14.5
[1234] 3.0.1.33 LOCL 1 14 64 27 -77.0 16.0 14.8
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 2