F3215-HP Load Balancing Module System Management Configuration Guide-6PW101
110
After the configuration, you can see that the current system time displayed on the System Time
page is the same for Device A and Device B.
Configuring NTP at the CLI
NTP configuration task list
Task Remarks
Configuring NTP operation modes Required.
Configuring the local clock as a reference source Optional.
Configuring optional parameters for NTP Optional.
Configuring access-control rights Optional.
Configuring NTP authentication Optional.
Configuring NTP operation modes
Devices can implement clock synchronization in one of the following modes:
• Client/server mode—Configure only clients.
• Symmetric mode—Configure only symmetric-active peers.
• Broadcast mode—Configure both clients and servers.
• Multicast mode—Configure both clients and servers.
Configuring the NTP client/server mode
If you specify the source interface for NTP messages by specifying the source interface source-interface
option, NTP uses the primary IP address of the specified interface as the source IP address of the NTP
messages.
A device can act as a server to synchronize other devices only after it is synchronized. If a server has a
stratum level higher than or equal to a client, the client does not synchronize to that server.
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.
To specify an NTP server on the client:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Specify an NTP server for the
device.
ntp-service unicast-server
{ ip-address | server-name }
[ authentication-keyid keyid |
priority | source-interface
interface-type interface-number |
version number ] *
By default, no NTP server is
specified.
You can configure multiple servers
by repeating the command. The
clients will select the optimal
reference source.
Configuring the NTP symmetric peers mode
Follow these guidelines when you configure the NTP symmetric peers mode: