Network requirements – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 40

Advertising
background image

32

# Specify the key as a trusted key.

[DeviceA] ntp-service reliable authentication-keyid 42

# Display the NTP status of Device B after clock synchronization.

[DeviceB] display ntp-service status

Clock status: synchronized

Clock stratum: 3

Reference clock ID: 1.0.1.11

Nominal frequency: 64.0000 Hz

Actual frequency: 64.0000 Hz

Clock precision: 2^7

Clock offset: 0.0000 ms

Root delay: 31.00 ms

Root dispersion: 1.05 ms

Peer dispersion: 7.81 ms

Reference time: 14:53:27.371 UTC Sep 19 2012 (C6D94F67.5EF9DB22)

The output shows that Device B has synchronized to Device A. The stratum level of Device B is 3,
and that of Device A is 2.
# Display NTP session information for Device B, which shows that an association has been set up
between Device B and Device A.

[DeviceB] display ntp-service sessions

source reference stra reach poll now offset delay disper

**************************************************************************

[12345] 1.0.1.11 127.127.1.0 2 63 64 3 -75.5 31.0 16.5

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

Total associations : 1

Configuration example for NTP broadcast mode with
authentication

Network requirements

As shown in

Figure 16

, Switch C functions as the NTP server for multiple devices on different network

segments and synchronizes the time among multiple devices. Switch B authenticates the reference source.

Switch C’s local clock is to be used as a reference source, with the stratum level 3.

Switch C operates in broadcast server mode and sends out broadcast messages from
VLAN-interface 2.

Switch A and Switch B operate in broadcast client mode and receive broadcast messages through
VLAN-interface 2.

NTP authentication is enabled on both Switch B and Switch C.

Advertising