R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
135
undo ntp-service refclock-master [ ip-address ]
View
System view
Default 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 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 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.
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 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.
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.