
13
Step Command
Remarks
interface-type
interface-number
]
*
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify a symmetric-passive
peer for the device.
•
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
] *
By default, no symmetric-passive
peer is specified.
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
Enter the interface for receiving
NTP broadcast messages.