112
C
2: S
M
HAPTER
YSTEM
ntp-service reliable
authentication-keyid
ntp-service
source-interface
& M
AINTENANCE
ANAGEMENT
Setting the external reference clock or the local clock to be the NTP master clock
provides other devices with synchronous time. The X.X.X.X is the IP address
127.127.t.u of the reference clock. When no IP address is specified, the local clock
is the NTP master clock by default. This command can be used to specify the
stratum of the NTP master clock.
Example
Set the local device to be the NTP master clock to provide synchronous time for
other peers. The stratum is set to 3.
[3Com] ntp-service refclock-master 3
Syntax
ntp-service reliable authentication-keyid number
undo ntp-service reliable authentication-keyid number
View
System view
Parameter
number: Key number in the range of 1 to 4294967295.
Description
Using the ntp-service reliable authentication-keyid command, you can specify the
key to be reliable. Using the undo ntp-service reliable authentication-keyid
command, you can remove the specified reliable key.
By default, no reliable authentication key is set.
If ID authentication is enabled, this command is used to specify that one or more
keys are reliable. That is, the client can only synchronize the server that provides
the reliable key. The client cannot synchronize the server that provides keys not
being reliable.
Example
Enable NTP ID authentication in MD5 encryption method. The key ID number is
37 and the key is BetterKey. The key is specified to be reliable.
[3Com] ntp-service authentication enable
[3Com] ntp-service authentication-keyid 37 authentication-mode md5
BetterKey
[3Com] ntp-service reliable authentication-keyid 37
Syntax
ntp-service source-interface {interface-type interface-number }
undo ntp-service source-interface
C
OMMANDS