83
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
Default command level
3: Manage level
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
Usage guidelines
If you do not want the IP address of a certain interface on the local device to become the destination
address of response messages, use this command to specify the source interface for NTP messages so
that the source IP address in NTP messages is the primary IP address of this interface.
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...