In the event that authentication has been enabled, this command can be used for
specifying one or more keys to be reliable. In other words, clients will only
synchronize its clock to the server providing a reliable key. Otherwise, clients will
refuse synchronization.
Example
Enable NTP authentication, adopt MD5 encryption, set key ID to 37, configure the key
as BetterKey and specify the key 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
4.15 ntp-service source-interface
Syntax
ntp-service source-interface
{
interface-name
|
interface-type interface-number
}
undo ntp-service source-interface
View
System view
Parameter
interface-name
: Interface name. The IP address of the interface will be used as the
source IP address of the messages.
interface-type
: Interface type, which identifies an interface along with
interface-number
.
interface-number
: Interface number, which identifies an interface along with
interface-type
.
Description
Using the
ntp-service source-interface
command, you can specify a local interface
for NTP message transmission. Using the
undo ntp-service source-interface
command, you can remove the current setting.
Source address will be determined depending on the output interface.
Using this command, you can specify a source IP address to be carried by all the
transmitted NTP messages by specifying the interface. This command is useful in the
case that you do not want the IP addresses of any other local interfaces to be the
3Com Router Command Reference Guide Addendum for V1.2
79