Configuring Ntp Broadcast Mode With Authentication - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

# 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.
[SwitchB] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
Before Switch B can synchronize its clock to that of Switch A, you need to enable NTP authentication for
Switch A.
Perform the following configuration on Switch A:
# Enable NTP authentication.
[SwitchA] ntp-service authentication enable
# Set an authentication key.
[SwitchA] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[SwitchA] ntp-service reliable authentication-keyid 42
# View the NTP status of Switch B after clock synchronization.
[SwitchB] 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 2005 (C6D94F67.5EF9DB22)
As shown above, Switch B has been synchronized to Switch A, and the clock stratum level of Switch B
is 3, while that of Switch A is 2.
# View the NTP session information of Switch B, which shows that an association has been set up
Switch B and Switch A.
[SwitchB] display ntp-service sessions
source
**************************************************************************
[12345] 1.0.1.11
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations :

Configuring NTP Broadcast Mode with Authentication

Network requirements
The local clock of Switch C is to be used as the master clock, with a stratum level of 3.
reference
stra
reach
127.127.1.0
2
1
poll
now
offset
63
64
3
-75.5
1-22
delay
disper
31.0
16.5

Advertisement

Chapters

Table of Contents
loading

Table of Contents