Switch 7700 Command reference Guide, v2.0

Table Of Contents
502 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
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-key : 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.
This command sets the remote server at ip-address as a peer of the local
equipment, which operates in symmetric active mode.
ip-address specifies a host
address other than an IP address of broadcast, multicast, or reference clock. By
operating in this mode, a local device can synchronize and be synchronized by a
remote server.
Example
Configure the local equipment to synchronize or synchronized by a peer at
128.108.22.44. Set the NTP version to 3. The IP address of the NTP packets are
taken from that of Vlan-Interface1.
[SW7700]ntp-service unicast-peer 131.108.22.33 version 3
source-interface Vlan-Interface 1