86
Step
Command
Remarks
2.
Configure the right for peer
devices to access the NTP
services on the local device.
•
Configure the right for peer
devices to access the IPv4
NTP services on the local
device:
ntp-service access
{
peer
|
query
|
server
|
synchronization
}
acl
ipv4-acl-number
•
Configure the right for peer
devices to access the IPv6
NTP services on the local
device:
ntp-service ipv6
{
peer
|
query
|
server
|
synchronization
}
acl
ipv6-acl-number
By default, the right for peer
devices to access the NTP
services on the local device is
peer
.
Before you configure the NTP service access control right to the local device, create and configure
an ACL associated with the access control right. For more information about ACL, see
ACL and QoS
Configuration Guide
.
Configuring NTP authentication
This section provides instructions for configuring NTP authentication.
Configuring NTP authentication in client/server mode
To ensure a successful NTP authentication, configure the same key ID and key value on the server
and client.
To configure NTP authentication for a 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.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...