H3C Technologies H3C S6300 Series Switches User Manual

Page 47

Advertising
background image

34

<DeviceC> system-view

[DeviceC] ntp-service enable

# Specify the local clock as the reference source, with the stratum level 2.

[DeviceC] ntp-service refclock-master 2

# Configure Device B as an IPv6 symmetric passive peer.

[DeviceC] ntp-service ipv6 unicast-peer 3000::35

5.

Verify the configuration:
# After the configuration, Device B has two time servers Device A and Device C. Device C has a
lower stratum level than Device A, so Device B selects Device C as a reference clock to synchronize

to Device C. After synchronization, view the status of Device B. The output shows that Device B has

been synchronized to Device C.

[DeviceB] display ntp-service status

Clock status: synchronized

Clock stratum: 3

System peer: 3000::36

Local mode: sym_passive

Reference clock ID: 163.29.247.19

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

# Display IPv6 NTP association information for Device B.

[DeviceB] display ntp-service ipv6 sessions

Notes: 1 source(master), 2 source(peer), 3 selected, 4 candidate, 5 configured.

Source: [12345]3000::36

Reference: 127.127.1.0 Clock stratum: 2

Reachabilities: 15 Poll interval: 64

Last receive time: 19 Offset: 0.0

Roundtrip delay: 0.0 Dispersion: 0.0

Source: [2345]3000::34

Reference: INIT Clock stratum: 3

Reachabilities: 1 Poll interval: 64

Last receive time: 10 Offset: 0.0

Roundtrip delay: 0.0 Dispersion: 0.0

Total sessions : 2

The output shows that an association has been set up between Device B and Device A, and Device
B and Device C.

Advertising