The system view is displayed.
2.
Run:
ntp-service authentication enable
NTP authentication is enabled.
3.
Run:
ntp-service authentication-keyid
key-id
authentication-mode md5
password
The NTP authentication key is configured.
4.
Run:
ntp-service reliable authentication-keyid
key-id
The authentication key is declared to be reliable.
----End
5.3.4 Configuring NTP Authentication in Unicast Client/Server
Mode
By configuring the authentication key ID used in the synchronization with the specific NTP
server on the NTP client, you can apply NTP authentication in Client/Server mode.
Context
Do as follows on the router that functions as an NTP unicast client.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ntp-service unicast-server
ip-address
[
authentication-keyid
key-id
|
version
number
|
source-interface
interface-type
interface-number
|
vpn-instance
vpn-
instance-name
|
preference
]
*
The ID of the authentication key used for the synchronization of the server and client clocks is
configured.
----End
5.3.5 Configuring NTP Authentication in Peer Mode
By configuring the authentication key ID used in the synchronization with the peer on the local
end, you can apply NTP authentication in peer mode.
Context
Do as follows on the router that functions as the symmetric active end.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
5 NTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
122