F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
135
ntp-service refclock-master
Use ntp-service refclock-master to configure the local clock as a reference source for other devices.
Use undo ntp-service refclock-master to remove the configuration.
Syntax
ntp-service refclock-master [ ip-address ] [ stratum ]
undo ntp-service refclock-master [ ip-address ]
Views
System view
Default command level
3: Manage level
Parameters
ip-address: IP address of the local clock, which is 127.127.1.u, where u is the NTP process ID that is in the
range of 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 is in the range of 1 to 15 and defaults to 8.
Usage guidelines
The stratum level of a clock defines the clock precision. The value is in the range of 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.
Examples
# Specify the local clock as the reference source, with the stratum level 3.
<Sysname> system-view
[Sysname] ntp-service refclock-master 3
ntp-service reliable authentication-keyid
Use ntp-service reliable authentication-keyid 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 undo ntp-service reliable authentication-keyid to remove the configuration.
Syntax
ntp-service reliable authentication-keyid keyid
undo ntp-service reliable authentication-keyid keyid
Default
No authentication key is configured to be trusted.
Views
System view
Default command level
3: Manage level