Ntp-Service Reliable Authentication-Keyid; Ntp-Service Source-Interface - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

ntp-service reliable authentication-keyid

Syntax
ntp-service reliable authentication-keyid keyid
undo ntp-service reliable authentication-keyid keyid
View
System view
Default Level
2: System level
Parameters
keyid: Authentication key number, in the range of 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.
No authentication key is configured to be trusted by default.
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

Syntax
ntp-service source-interface interface-type interface-number
undo ntp-service source-interface
View
System view
Default Level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its interface type and interface number.
1-15

Advertisement

Table of Contents
loading

Table of Contents