Ntp-Service Authentication-Keyid - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

View
System view
Parameter
None
Description
Use the ntp-service authentication enable command to enable the NTP authentication.
Use the undo ntp-service authentication enable command to disable the NTP authentication.
By default, the NTP authentication is disabled.
Refer to the ntp-service reliable authentication-keyid and ntp-service authentication-keyid
commands for related configuration.
Example
# Enable the NTP authentication.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] ntp-service authentication enable

ntp-service authentication-keyid

Syntax
ntp-service authentication-keyid key-id authentication-mode md5 value
undo ntp-service authentication-keyid key-id
View
System view
Parameter
key-id: Authentication key ID, in the range of 1 to 4294967295.
value: Authentication key, a string comprising 1 to 32 characters. Up to 1024 keys can be configured.
Description
Use the ntp-service authentication-keyid command to configure an NTP authentication key.
Use the undo ntp-service authentication-keyid command to remove an NTP authentication key.
By default, no NTP authentication key is configured.
Currently, the system only supports the message digest 5 (MD5) algorithm.
After configuring the NTP authentication key, you need to use the ntp-service reliable
authentication-keyid command to specify the authentication key as a trusted key.
Related commands: ntp-service reliable authentication-keyid.
Example
# Configure an MD5 authentication key, with the key ID being 10 and the key being BetterKey.
<Sysname>
system-view
1-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents