![HPE FlexFabric 5700 Series Скачать руководство пользователя страница 49](http://html.mh-extra.com/html/hpe/flexfabric-5700-series/flexfabric-5700-series_network-management-and-monitoring-configuration-manual_2175950049.webp)
40
Reference time: d0c62687.ab1bba7d Wed, Dec 29 2010 21:28:39.668
# Verify that an IPv4 NTP association has been established between Device B and Device A.
[DeviceB] display ntp-service sessions
source reference stra reach poll now offset delay disper
********************************************************************************
[1245]1.0.1.11 127.127.1.0 2 1 64 519 -0.0 0.0065 0.0
Notes: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured.
Total sessions: 1
Configuration example for NTP broadcast mode with
authentication
Network requirements
As shown in
, Switch C functions as the NTP server for multiple devices on different
network segments and synchronizes the time among multiple devices. Switch A and Switch B
authenticate the reference source.
•
Configure Switch C's local clock as a reference source, with the stratum level 3.
•
Configure Switch C to operate in broadcast server mode and send out broadcast messages
from VLAN-interface 2.
•
Configure Switch A and Switch B to operate in broadcast client mode and receive broadcast
messages through VLAN-interface 2.
•
Enable NTP authentication on Switch A, Switch B, and Switch C.
Figure 16 Network diagram
Configuration procedure
1.
Set the IP address for each interface, and make sure Switch A, Switch B, and Switch C can
reach each other, as shown in
. (Details not shown.)
2.
Configure Switch A:
# Enable the NTP service.
<SwitchA> system-view
[SwitchA] ntp-service enable
# Enable NTP authentication on Switch A. Configure an NTP authentication key, with the key ID
of 88 and key value of 123456. Input the key in plain text, and specify it as a trusted key.
Vlan-int2
3.0.1.31/24
Vlan-int2
3.0.1.32/24
Vlan-int2
3.0.1.30/24
Switch A
NTP broadcast client
Switch C
NTP broadcast server
Switch B
NTP broadcast client