HP VPN Firewall Appliances System Management and Maintenance Command Reference

137
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
Parameters
keyid: Specifies an authentication key number in the range of 1 to 4294967295.
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
# Specify this key as a trusted key.
[Sysname] ntp-service reliable authentication-keyid 37
ntp-service source-interface
Use ntp-service source-interface to specify the source interface for NTP messages.
Use undo ntp-service source-interface to restore the default.
Syntax
ntp-service source-interface interface-type interface-number
undo ntp-service source-interface
Default
No source interface is specified for NTP messages, and the system uses the IP address of the interface
determined by the matched route as the source IP address of NTP messages.
Views
System view