Configuring Ntp Client/Server Mode With Authentication Example - HP 5820X Switch Configuration Manual

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

The output shows that Switch A has been synchronized to Switch C, and the clock stratum level of Switch
A is 3, while that of Switch C is 2.
# View the NTP session information of Switch A, which shows that an association has been set up
between Switch A and Switch C.
[SwitchA-Vlan-interface3] display ntp-service sessions
source
**************************************************************************
[1234] 3.0.1.31
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations :
NOTE:
For more information about how to configure IGMP and PIM, see
Configuring NTP client/server mode with authentication
example
Network requirements
As shown in
and Switch A and ensure network security.
The local clock of Switch A is to be configured as a reference source, with the stratum level of 2.
Switch B works in client mode and Switch A is to be used as the NTP server of Switch B, with Switch
B as the client.
NTP authentication is to be enabled on both Switch A and Switch B.
Figure 29 Network diagram for configuration of NTP client/server mode with authentication
Configuration procedure
Set the IP address for each interface as shown in
1.
Configuration on Switch B:
2.
<SwitchB> system-view
# Enable NTP authentication on Switch B.
[SwitchB] ntp-service authentication enable
# Set an authentication key.
[SwitchB] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[SwitchB] ntp-service reliable authentication-keyid 42
# Specify Switch A as the NTP server of Switch B.
[SwitchB] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
Before Switch B can synchronize its clock to that of Switch A, enable NTP authentication for Switch A.
reference
stra
127.127.1.0
1
Figure
29, perform the following configurations to synchronize the time between Switch B
reach
poll
now
2
255
64
26
Figure
75
offset delay
disper
-16.0
40.0
16.6
IP Multicast Configuration Guide
29. The configuration procedure is omitted.
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents