beautypg.com

Configuring ntp client/server mode, Configuring the ntp symmetric peers mode – H3C Technologies H3C SecPath F1000-E User Manual

Page 120

background image

8

Configuring NTP Client/Server Mode

For devices working in client/server mode, make configurations on the clients, but not on the servers.
Follow these steps to configure an NTP client:

To do…

Use the command…

Remarks

Enter system view

system-view

Specify an NTP server for the
device

ntp-service unicast-server
[ vpn-instance

vpn-instance-name ] { ip-address |

server-name }
[ authentication-keyid keyid |
priority
| source-interface

interface-type interface-number |
version
number ] *

Required
No NTP server is specified by
default.
Whether the vpn-instance

keyword is supported depends on

your device model.

NOTE:

In the

ntp-service unicast-server command,

ip-address must be a unicast address, rather than a

broadcast address, a multicast address or the IP address of the local clock.

When the source interface for NTP messages is specified by the source-interface argument,
the source IP address of the NTP messages is configured as the primary IP address of the
specified interface.

A device can act as a server to synchronize the clock of other devices only after its clock has been
synchronized. If the clock of a server has a stratum level higher than or equal to that of a client’s
clock, the client will not synchronize its clock to the server’s.

You can configure multiple servers by repeating the

ntp-service unicast-server command. The

clients will select the optimal reference source.

Configuring the NTP Symmetric Peers Mode

For devices working in the symmetric mode, specify a symmetric-passive peer on a symmetric-active peer.
Following these steps to configure a symmetric-active device:

To do…

Use the command…

Remarks

Enter system view

system-view

Specify a symmetric-passive peer
for the device

ntp-service unicast-peer
[ vpn-instance

vpn-instance-name ] { ip-address |

peer-name }
[ authentication-keyid keyid |
priority
| source-interface

interface-type interface-number |
version
number ] *

Required
No symmetric-passive peer is
specified by default.
Whether the vpn-instance
keyword is supported depends on

your device model.