![Huawei Quidway S6500 Series Command Manual Download Page 776](http://html.mh-extra.com/html/huawei/quidway-s6500-series/quidway-s6500-series_command-manual_167771776.webp)
Command Manual - System Management
Quidway S6500 Series Ethernet Switches
Chapter 7 NTP Configuration Commands
Huawei Technologies Proprietary
7-13
When you enable the authentication, you can use this command to configure one or
more than one keys as reliable. In this case, a client will only get synchronized by a
server whichever can provide a reliable key.
Example
# Enable NTP authentication, adopt MD5 encryption, and designate Key 37 BetterKey
and configure it as reliable.
[Quidway] ntp-service authentication enable
[Quidway] ntp-service authentication-keyid 37 authentication-mode md5 BetterKey
[Quidway] ntp-service reliable authentication-keyid 37
7.1.17 ntp-service source-interface
Syntax
ntp-service source-interface
{
interface-name
|
interface-type interface-number
}
undo ntp-service source-interface
View
System view
Parameter
interface-name
: Specify an interface. The source IP address of the packets will be
taken from the address of the interface.
interface-type
: Specify the interface type and determine an interface with the
interface-number
parameter.
interface-number
: Specify the interface number and determine an interface with the
interface-type
parameter.
Description
Using
ntp-service source-interface
command, you can designate an interface to
transmit NTP message. Using
undo ntp-service source-interface
command, you can
cancel the current setting.
The source address specifies where the packets are transmitted from.
You can use this command to designate an interface to transmit all the NTP packets
and take the source address of these packets from its IP address. If you do not want
any other interface to receive the acknowledgement packets, use this command to
specify one interface to send all the NTP packets.