87
Step
Command
Remarks
5.
Associate the specified key
with an NTP server.
•
Associate the specified key
with an NTP server:
ntp-service
unicast-server
{
server-name
|
ip-address
}
[
vpn-instance
vpn-instance-name
]
authentication-keyid
keyid
•
Associate the specified key
with an IPv6 NTP server:
ntp-service
ipv6
unicast-server
{
server-name
|
ipv6-address
}
[
vpn-instance
vpn-instance-name
]
authentication-keyid
keyid
N/A
To configure NTP authentication for a server:
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.
NTP authentication results differ when different configurations are performed on client and server.
For more information, see
. (N/A in the table means that whether the configuration is
performed does not make any difference.)
Table 3
NTP authentication results
Client
Server
Authentication
result
Enable NTP
authenticatio
n
Configur
e a key
and
configure
it as a
trusted
key
Associate the
key with an
NTP server
Enable NTP
authenticatio
n
Configure
a key and
configure
it as a
trusted key
Yes
Yes
Yes
Yes
Yes
Succeeded. NTP
messages can be
sent and received
correctly.
Yes
Yes
Yes
Yes
No
Failed. NTP
messages cannot
be sent and
received
correctly.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...