beautypg.com

3Com 10014303 User Manual

Page 45

background image

Table 4-2 Configure NTP peer mode

Operation

Command

Configure NTP peer mode

ntp-service unicast-peer X.X.X.X [ version number | authentication-key
keyid | source-interface {

{ interface-name | interface-type }

interface-number } | priority ] *

Disable NTP peer mode

undo ntp-service unicast-peer X.X.X.X

NTP version is in the range of 1 to 3 and defaults to 3, and authentication key ID is in

the range of 1 to 4294967295. You can specify an interface by specifying its

interface-name or interface-type interface number. The local router will use the IP

address of the interface as the source IP address carried by the NTP messages sent

to the time server. In addition, you can specify the time server as the preferred time

server by specifying priority.

III. Configure NTP broadcast server mode

This task is to specify an interface on the local router for sending NTP broadcast

messages. In this case, the local router is running as a broadcast server to

periodically send broadcast messages to the broadcast clients.

Perform the following configuration in interface view.

Table 4-3 Configure NTP broadcast server mode

Operation

Command

Configure NTP broadcast
server mode

ntp-service broadcast-server [ authentication-keyid keyid | version
number ] *

Disable NTP broadcast server
mode

undo ntp-service broadcast-server

NTP version is in the range of 1 to 3 and defaults to 3, and authentication key ID is in

the range of 1 to 4294967295. This command must be configured on the interface

that is to be used for sending NTP broadcast messages.

IV. Configure NTP broadcast client mode

This task is to specify an interface on the local router to receive the NTP broadcast

messages and to run in broadcast client mode. The local router first detects the

broadcast message packets from the server. Upon the receiving the first message

packet, the local router enters a temporary Client/Server mode to exchange the

message with the remote server for the purpose of estimating the network delay. It

then switches to the broadcast client mode to assume the work of detecting the

broadcast message packets so it can synchronize the local clock.

Perform the following configuration in interface view.

3Com Router Configuration Guide Addendum for V1.20

45