92
Broadcast server
Broadcast client
Authentication result
Enable NTP
authenticatio
n
Configur
e a key
and
configure
it as a
trusted
key
Associat
e the key
with a
broadcas
t server
Enable NTP
authenticatio
n
Configur
e a key
and
configure
it as a
trusted
key
Yes
Yes
Yes
No
N/A
Failed. NTP messages
cannot be sent and
received correctly.
Yes
No
Yes
Yes
N/A
Failed. NTP messages
cannot be sent and
received correctly.
Yes
No
Yes
No
N/A
No authentication. NTP
messages can be sent
and received correctly.
Yes
N/A
No
Yes
N/A
Failed. NTP messages
cannot be sent and
received correctly.
Yes
N/A
No
No
N/A
No authentication. NTP
messages can be sent
and received correctly.
No
N/A
N/A
Yes
N/A
Failed. NTP messages
cannot be sent and
received correctly.
No
N/A
N/A
No
N/A
No authentication. NTP
messages can be sent
and received correctly.
Configuring NTP authentication in multicast mode
To ensure a successful NTP authentication, configure the same key ID and key value on the
multicast server and client.
To configure NTP authentication for a multicast client:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable NTP authentication.
ntp-service authentication
enable
By default, NTP authentication is
disabled.
3.
Configure an NTP
authentication key.
ntp-service
authentication-keyid
keyid
authentication-mode
{
hmac-sha-1
|
hmac-sha-256
|
hmac-sha-384
|
hmac-sha-512
|
md5
} {
cipher
|
simple
}
string
By default, no NTP authentication
key exists.
4.
Configure the key as a
trusted key.
ntp-service reliable
authentication-keyid keyid
By default, no authentication key
is configured as a trusted key.
To configure NTP authentication for a multicast server: