Ntp-Service Source - HPE FlexFabric 5930 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexFabric 5930 Series:
Table of Contents

Advertisement

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 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 the 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 searches the routing table for the
outbound interface of NTP messages, and uses the primary IP address of the outbound interface as
the source IP address for NTP messages.
Views
System view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
If you specify the source interface for NTP messages, the device sets the source IP address of the
NTP messages as the primary IP address of the specified interface when sending the NTP
messages.
When the device responds to an NTP request, the source IP address of the NTP response is always
the IP address of the interface that has received the NTP request.
If you do not want the IP address of an interface on the local device to become the destination
address for response messages, use the command.
If you have specified the source interface for NTP messages in the ntp-service unicast-server
or ntp-service unicast-peer command, the interface specified in the ntp-service
39

Advertisement

Table of Contents
loading

Table of Contents