Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 7 NTP Configuration Commands
Huawei Technologies Proprietary
7-14
Example
# Configure all the outgoing NTP packets to use the IP address of Vlan-Interface1 as
their source IP address.
[Quidway] ntp-service source-interface Vlan-Interface 1
7.1.18 ntp-service unicast-peer
Syntax
ntp-service unicast-peer ip-address [ version number ] [ authentication-key keyid ]
[ source-interface { interface-name | interface-type interface-number } ] [ priority ]
undo ntp-service unicast-peer ip-address
View
System view
Parameter
ip-address: Specify the IP address of a remote server.
version: Define NTP version number.
number: NTP version number, ranging from 1 to 3.
authentication-keyid: Define authentication key.
keyid: Key ID used for transmitting messages to a remote server, ranging from 0 to
4294967295.
source-interface: Specify the name of an interface.
interface-name: Specify the interface name. When a local device sends an NTP
message to a peer, the source IP address of the message is taken from the address of
the interface.
interface-type: Specify the interface type and determine an interface together with the
interface-number parameter.
interface-number: Specify the interface number and determine an interface together
with the interface-type parameter.
priority: Designate a server as the first choice.
Description
Using ntp-service unicast-peer command, you can configure NTP peer mode. Using
undo ntp-service unicast-peer command, you can cancel NTP peer mode.
By default, version number number defaults to 3, the authentication is disabled, and the
local server is not the first choice.