30
IPv6 NTP symmetric active/passive mode configuration
example
Network requirements
As shown in Figure 11:
• Configure the local clock of Device A as a reference source, with the stratum level 2.
• Configure Device A to operate in symmetric-active mode and specify Device B as the IPv6
passive peer of Device A.
Figure 11 Network diagram
Configuration procedure
1. Set the IP address for each interface as shown in Figure 11. (Details not shown.)
2. Configure Device B:
# Enable the NTP service.
<DeviceB> system-view
[DeviceB] ntp-service enable
3. Configure Device A:
# Enable the NTP service.
<DeviceA> system-view
[DeviceA] ntp-service enable
# Specify the local clock as the reference source, with the stratum level 2.
[DeviceA] ntp-service refclock-master 2
# Configure Device B as an IPv6 symmetric passive peer.
[DeviceA] ntp-service ipv6 unicast-peer 3000::36
4. Verify the configuration:
# Verify that Device B has synchronized to Device A.
[DeviceB] display ntp-service status
Clock status: synchronized
Clock stratum: 3
System peer: 3000::35
Local mode: sym_passive
Reference clock ID: 251.73.79.32
Leap indicator: 11
Clock jitter: 0.000977 s
Stability: 0.000 pps
Clock precision: 2^-10
Root delay: 0.01855 ms
Root dispersion: 9.23483 ms
Reference time: d0c6047c.97199f9f Wed, Dec 29 2010 19:03:24.590
# Verify that an IPv6 NTP association has been established between Device B and Device A.
Device BDevice A
3000::35/64 3000::36/64
Symmetric active peer Symmetric passive peer