3com 8807 Reference Guide

Page of 1099
940
C
HAPTER
 55: NTP C
ONFIGURATION
 C
OMMANDS
View
System view
Parameter
ip-address: IP address of a remote server.
version: Defines NTP version number.
number: NTP version number, ranging from 1 to 3.
authentication-keyid: Defines authentication key.
keyid: Key ID used for transmitting messages to a remote server, ranging from 1 to 
4294967295.
source-interface: Specifies the name of an interface, the interface can be VLAN 
interface and Loopback interface currently.
interface-type: Specifies the interface type and determine an interface together 
with the interface-number argument.
interface-number: Specifies the interface number and determine an interface 
together with the interface-type argument.
interface-type interface-number specifies from which interface to obtain the 
source IP address carried in the packet sent by the local switch to the peer. 
Currently, only VLAN interfaces and Loopback interfaces are supported.
priority: Designates a server as the first choice.
Description
Use the ntp-service unicast-peer command to configure NTP peer mode.
Use the undo ntp-service unicast-peer command to 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.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] ntp-service unicast-peer 131.108.22.33 version 3 source-
 
interface Vlan-Interface 1