Ntp-Service Source - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Default
No trusted key is specified.
Views
System view
Predefined user roles
network-admin
Parameters
keyid: Specifies an authentication key by its ID in the range of 1 to 4294967295.
Usage guidelines
When NTP authentication is enabled, a client can be synchronized only to a server that can provide
a trusted authentication key.
Before you use the command, make sure NTP authentication is enabled and an authentication key is
configured. The key automatically changes to untrusted after you delete the key. In this case, you do
not need to execute the undo ntp-service reliable authentication-keyid command.
You can set a maximum of 128 keys by executing the command.
Examples
# Enable NTP authentication, specify the MD5 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 simple BetterKey
# Specify this key as a trusted key.
[Sysname] ntp-service reliable authentication-keyid 37
Related commands
ntp-service authentication enable
ntp-service authentication-keyid

ntp-service source

Use ntp-service source to specify a source interface for NTP messages.
Use undo ntp-service source to restore the default.
Syntax
ntp-service source interface-type interface-number
undo ntp-service source
Default
No source interface is specified for NTP messages. The device performs the following operations:
Searches the routing table for the outbound interface of NTP messages.
Uses the primary IP address of the outbound interface as the source IP address for NTP
messages.
Views
System view
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents