Ntp-Service Source-Interface - H3C S5500-EI Series Command Manual

Ntp
Hide thumbs Also See for S5500-EI Series:
Table of Contents

Advertisement

Command Manual – NTP
H3C S5500-EI Series Ethernet Switches
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, and specify that this key is a trusted key.
<Sysname> system-view
[Sysname] ntp-service authentication enable
[Sysname]
BetterKey
[Sysname] ntp-service reliable authentication-keyid 37

1.1.14 ntp-service source-interface

Syntax
ntp-service source-interface interface-type interface-number
undo ntp-service source-interface
View
System view
Parameters
interface-type interface-number: Specifies an interface by its interface type and
interface number.
Description
Use the ntp-service source-interface command to specify an interface for sending
NTP messages.
Use the undo ntp-service source-interface command to remove the configured
interface for sending NTP messages.
If you do not wish the IP address of a certain interface on the local device to become the
destination address of response messages, you can use this command to specify a
particular interface for sending all NTP messages, so that the source address in all NTP
messages is the primary IP address of this interface.
Examples
# Specify that all NTP messages are to be sent out from VLAN-interface 1.
<Sysname> system-view
[Sysname] ntp-service source-interface vlan-interface 1
ntp-service
authentication-keyid
Chapter 1 NTP Configuration Commands
37
1-13
authentication-mode
md5

Advertisement

Table of Contents
loading

Table of Contents