Step
4.
Configure the key as a
trusted key.
To configure NTP authentication for a broadcast server:
Step
1.
Enter system view.
2.
Enable
authentication.
3.
Configure
an
authentication key.
4.
Configure the key as
a trusted key.
5.
Enter interface view.
6.
Associate
specified key with the
broadcast server.
NTP authentication results differ when different configurations are performed on broadcast client and
server. For more information, see
performed does not make any difference.)
Table 4 NTP authentication results
Broadcast server
Configur
e a key
Enable
NTP
and
authenticatio
configure
n
it
trusted
key
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
N/A
Command
ipv6-acl-number ] *
ntp-service
authentication-keyid keyid
Command
system-view
NTP
ntp-service authentication enable
•
Release
ntp-service authentication-keyid
keyid authentication-mode md5
{ cipher | simple } value
•
Release
NTP
ntp-service authentication-keyid
keyid
{ hmac-sha-1 | hmac-sha-256 |
hmac-sha-384 | hmac-sha-512 |
md5 } { cipher | simple } string [ acl
ipv4-acl-number
ipv6-acl-number ] *
ntp-service
authentication-keyid keyid
interface
interface-number
the
ntp-service
authentication-keyid keyid
Table
4. (N/A in the table means that whether the configuration is
Associat
e the key
with
a
as
a
broadcas
t server
Yes
Yes
Yes
Yes
Yes
No
reliable
1111:
1121
and
later:
authentication-mode
|
ipv6
acl
reliable
interface-type
broadcast-server
Broadcast client
Configure
Enable
NTP
a key and
authenticatio
configure
n
it
trusted key
Yes
Yes
Yes
No
No
N/A
Yes
N/A
No
N/A
Yes
N/A
21
Remarks
By default, no authentication key
is configured as a trusted key.
Remarks
N/A
By default, NTP authentication is
disabled.
By default, no NTP authentication
key is configured.
By default, no authentication key
is configured as a trusted key.
N/A
By default, the broadcast server is
not associated with any key.
Authentication
result
as
a
Succeeded
Failed
Failed
Failed
No authentication
Failed