Configuring ntp association modes, Configuring ntp in client/server mode, Configuring ntp in symmetric active/passive mode – H3C Technologies H3C S6300 Series Switches User Manual
Page 27
14
Step Command
Remarks
2.
Enable the NTP service.
ntp-service enable
By default, the NTP service is not
enabled.
Configuring NTP association modes
This section describes how to configure NTP association modes.
Configuring NTP in client/server mode
When the device operates in client/server mode, specify the IP address for the server on the client.
Follow these guidelines when you configure an NTP client:
•
A server must be synchronized by other devices or use its local clock as a reference source before
synchronizing an NTP client. Otherwise, the client will not be synchronized to the NTP server.
•
If the stratum level of a server is higher than or equal to a client, the client will not synchronize to that
server.
•
You can configure multiple servers by repeating the ntp-service unicast-server and ntp-service ipv6
unicast-server commands.
To configure an NTP client:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify an NTP server for the
device.
•
Specify an NTP server for the
device:
ntp-service unicast-server
{ server-name | ip-address }
[ authentication-keyid keyid |
priority | source interface-type
interface-number | version
number ] *
•
Specify an IPv6 NTP server for
the device:
ntp-service ipv6 unicast-server
{ server-name | ipv6-address }
[ authentication-keyid keyid |
priority | source interface-type
interface-number ] *
By default, no NTP server is
specified for the device.
Configuring NTP in symmetric active/passive mode
When the device operates in symmetric active/passive mode, specify on a symmetric-active peer the IP
address for a symmetric-passive peer.
Follow these guidelines when you configure a symmetric-active peer:
•
Execute the ntp-service enable command on a symmetric passive peer to enable NTP. Otherwise,
the symmetric-passive peer will not process NTP messages from a symmetric-active peer.