R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

80
Parameters
keyid: Specifies an authentication key ID in the range of 1 to 4294967295.
cipher: Sets a ciphertext key.
simple: Sets a plaintext key. This key will be saved in cipher text for security purposes.
value: Specifies the MD5 authentication key string. This argument is case sensitive. If simple is specified,
it is a string of 1 to 32 characters. If cipher is specified, it is a string of 1 to 73 characters. If neither cipher
nor simple is specified, you set a plaintext key string.
Usage guidelines
In a security-demanding network, the NTP authentication feature should be enabled for a system running
NTP. This feature enhances the network security by means of the client-server key authentication, which
prohibits a client from synchronizing with a device that has failed authentication.
When the NTP authentication key is configured, configure the key as a trusted key by using the
ntp-service reliable authentication-keyid command.
The system supports only the MD5 algorithm for key authentication.
A maximum of 1024 keys can be set for each device.
If an NTP authentication key is specified as a trusted key, the key automatically changes to untrusted after
you delete the key. In this case, you do not need to execute the undo ntp-service reliable
authentication-keyid command.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text to the
configuration file.
Examples
# Set an MD5 authentication key, with the key ID of 10 and key value of BetterKey.
<Sysname> system-view
[Sysname] ntp-service authentication enable
[Sysname] ntp-service authentication-keyid 10 authentication-mode md5 BetterKey
Related commands
ntp-service reliable authentication-keyid
ntp-service broadcast-client
Use ntp-service broadcast-client to configure the device to operate in NTP broadcast client mode and
use the current interface to receive NTP broadcast packets.
Use undo ntp-service broadcast-client to remove the configuration.
Syntax
ntp-service broadcast-client
undo ntp-service broadcast-client
Default
The device does not operate in any NTP operation mode.
Views
Interface view