Step
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.
•
Either the symmetric-active peer, or the symmetric-passive peer, or both of them must be in
synchronized state. Otherwise, their time cannot be synchronized.
•
You can configure multiple symmetric-passive peers by repeating the ntp-service
unicast-peer or ntp-service ipv6 unicast-peer command.
To configure a symmetric-active peer:
Step
1.
Enter system view.
2.
Specify a symmetric-passive
peer for the device.
Configuring NTP in broadcast mode
A broadcast server must be synchronized by other devices or use its local clock as a reference
source before synchronizing a broadcast client. Otherwise, the broadcast client will not be
synchronized to the broadcast server.
Configure NTP in broadcast mode on both broadcast server and client.
Configuring a broadcast client
Step
1.
Enter system view.
2.
Enter interface view.
Command
interface-type
interface-number ] *
Command
system-view
•
Specify a symmetric-passive
peer:
ntp-service unicast-peer
{ peer-name | ip-address }
[ authentication-keyid keyid
| priority | source
interface-type
interface-number | version
number ] *
•
Specify an IPv6
symmetric-passive peer:
ntp-service ipv6
unicast-peer { peer-name |
ipv6-address }
[ authentication-keyid
keyid | priority | source
interface-type
interface-number ] *
Command
system-view
interface interface-type
interface-number
13
Remarks
Remarks
N/A
By default, no symmetric-passive
peer is specified.
Remarks
N/A
Enter the interface for receiving
NTP broadcast messages.