Ntp-Service Source-Interface - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – NTP
Quidway S3900 Series Ethernet Switches-Release 1510
Example
# Enable NTP authentication, with MD5 algorithm adopted, key ID being 37, the key of
BetterKey and being a trusted key.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ntp-service authentication enable
[Quidway]
BetterKey
[Quidway] ntp-service reliable authentication-keyid 37

1.1.14 ntp-service source-interface

Syntax
ntp-service source-interface Vlan-interface vlan-id
undo ntp-service source-interface
View
System view
Parameter
Vlan-interface vlan-id: Specifies an interface. The IP address of the interface serves
as the source IP address contained in the NTP packet to be sent. vlan-id indicates the
ID of the specified VLAN interface, ranging from 1 to 4094.
Description
Use the ntp-service source-interface command to specify the VLAN interface
through which NTP packets are to be sent.
Use the undo ntp-service source-interface command to cancel the configuration.
If you do not want the IP addresses of other interfaces on the local device to be the
destination addresses of the response packets, you can use this command to specify a
specific interface to send all NTP packets. In this way, the IP address of the interface is
the source IP addresses of all the NTP packets sent by the local device.
Example
# Specify the source IP addresses of all the NTP packets sent to be the IP address of
VLAN interface 1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ntp-service source-interface Vlan-interface 1
ntp-service
authentication-keyid
Huawei Technologies Proprietary
Chapter 1 NTP Configuration Commands
37
1-12
authentication-mode
md5

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents