R3204P16-HP Load Balancing Module System Management Command Reference-6PW101

91
Parameters
ip-address: IP address of the local clock, which is 127.127.1.u, where u is the NTP process ID that ranges
from 0 to 3. If you do not specify ip-address, i t d e f a u l t s t o 127.127.1.0 .
stratum: Stratum level of the local clock, which ranges from 1 to 15 and defaults to 8.
Description
Use the ntp-service refclock-master command to configure the local clock as a reference source for other
devices.
Use the undo ntp-service refclock-master command to remove the configuration.
NOTE:
The stratum level of a clock defines the clock precision. The value ranges from 1 to 16. The clock precision
decreases from stratum 1 to stratum 16. A stratum 1 clock has the highest precision, and a stratum 16
clock is not synchronized and cannot be used as a reference clock.
Examples
# Specify the local clock as the reference source, with the stratum level of 3.
<Sysname> system-view
[Sysname] ntp-service refclock-master 3
ntp-service reliable authentication-keyid
Syntax
ntp-service reliable authentication-keyid keyid
undo ntp-service reliable authentication-keyid keyid
View
System view
Default level
3: Manage level
Parameters
keyid: Authentication key number, which ranges from 1 to 4294967295.
Description
Use the ntp-service reliable authentication-keyid command to specify that the created authentication key
is a trusted key. When NTP authentication is enabled, a client can be synchronized only to a server that
can provide a trusted authentication key.
Use the undo ntp-service reliable authentication-keyid command to remove the configuration.
By default, no authentication key is configured to be trusted.
Examples
# Enable NTP authentication, specify to use MD5 encryption algorithm, with the key ID of 37 and key
value of BetterKey.
<Sysname> system-view
[Sysname] ntp-service authentication enable
[Sysname] ntp-service authentication-keyid 37 authentication-mode md5 BetterKey