Command Manual (For Soliton) – NTP
H3C S3100 Series Ethernet Switches
Chapter 1 NTP Configuration Commands
1-13
1.1.13 ntp-service reliable authentication-keyid
Syntax
ntp-service reliable authentication-keyid
key-id
undo ntp-service reliable authentication-keyid
key-id
View
System view
Parameter
key-id
: Authentication key ID, in the range of 1 to 4294967295.
Description
Use the
ntp-service reliable authentication-keyid
command to specify an
authentication key as a trusted key.
Use the
undo ntp-service reliable authentication-keyid
command to remove the
configuration.
By default, no trusted key is configured.
When NTP authentication is enabled, a client can be synchronized only to a server that
can provide a trusted authentication key.
Related commands:
ntp-service authentication-keyid
.
Example
# Enable NTP authentication. The encryption algorithm is MD5, the key ID is 37, and
the trusted key is
abc
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ntp-service authentication enable
[Sysname] ntp-service authentication-keyid 37 authentication-mode md5 abc
# Specify this key as a trusted key.
[Sysname] ntp-service reliable authentication-keyid 37
1.1.14 ntp-service source-interface
Syntax
ntp-service source-interface Vlan-interface vlan-id
undo ntp-service source-interface