Ntp-Service Source-Interface - HP 6125G Command Reference Manual

Network management and monitoring
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Parameters
keyid: Specifies an authentication key number, in the range of 1 to 4294967295.
Description
Use ntp-service reliable authentication-keyid 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 undo ntp-service reliable authentication-keyid to remove the configuration.
By default, no authentication key is configured to be trusted.
Examples
# Enable NTP authentication, specify the use of 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
3: Manage level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Description
Use ntp-service source-interface to specify the source interface for NTP messages.
Use undo ntp-service source-interface to restore the default.
By 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.
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.
If the specified source interface goes down, NTP uses the primary IP address of the outgoing interface as
the source IP address.
Examples
# Specify the source interface of NTP messages as VLAN-interface 1.
<Sysname> system-view
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents