23
authentication-mode { hmac-sha-1 |
hmac-sha-256 | hmac-sha-384 |
hmac-sha-512 | md5 } { cipher |
simple } string [ acl ipv4-acl-number |
ipv6-acl-number ] *
4.
a trusted key.
ntp-service reliable authentication-keyid
keyid
By default, no authentication
key is configured as a trusted
key.
5. Enter interface view.
interface
interface-type interface-number
N/A
6.
specified key with the
multicast server.
• Associate the specified key with a
multicast server:
ntp-service multicast-server
[ ip-address ] authentication-keyid
keyid
• Associate the specified key with an IPv6
multicast server:
ntp-service ipv6 multicast-server
ipv6-multicast-address
authentication-keyid keyid
server is associated with the
specified key.
NTP authentication results differ when different configurations are performed on broadcast client and
server. For more information, see Table 5. (N/A in the table means that whether the configuration is
performed does not make any difference.)
Table 5 NTP authentication results
Authentication
result
authenticatio
n
Configure
configure
Associate
server
authenticatio
n
Configure
configure
Yes Yes Yes Yes Yes Succeeded
Yes Yes Yes Yes No Failed
Yes Yes Yes No N/A Failed
Yes No Yes Yes N/A Failed
Yes No Yes No N/A No authentication
Yes N/A No Yes N/A Failed
Yes N/A No No N/A No authentication
No N/A N/A Yes N/A Failed
No N/A N/A No N/A No authentication
Configuring NTP optional parameters
The configuration tasks in this section are optional tasks. Configure them to improve NTP security,
performance, or reliability.