84
Step
Command
Remarks
2.
Specify a
symmetric-passiv
e peer for the
device.
•
Specify a symmetric-passive peer:
ntp-service
unicast-peer
{
peer-name
|
ip-address
} [
vpn-instance
vpn-instance-name
] [
authentication-keyid
keyid
|
maxpoll
maxpoll-interval | minpoll
minpoll-interval
|
priority
|
source
interface-type interface-number
|
version
number
] *
•
Specify an IPv6 symmetric-passive peer:
ntp-service ipv6 unicast-peer
{
peer-name
|
ipv6-address
}
[
vpn-instance
vpn-instance-name
] [
authentication-keyid
keyid
|
maxpoll
maxpoll-interval | minpoll
minpoll-interval
|
priority
|
source
interface-type interface-number
] *
By default, no
symmetric-passive peer is
specified.
Configuring NTP in broadcast mode
For a broadcast client to synchronize to a broadcast server, make sure the broadcast server is
synchronized by other devices or uses its local clock as a reference source.
Configure NTP in broadcast mode on both the 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.
3.
Configure the device to
operate in broadcast client
mode.
ntp-service
broadcast-client
By default, the device does not
operate in any NTP association
mode.
After you execute the command,
the device receives NTP
broadcast messages from the
specified interface.
Configuring the broadcast server
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
Enter the interface for sending
NTP broadcast messages.
3.
Configure the device to
operate in NTP broadcast
server mode.
ntp-service
broadcast-server
[
authentication-keyid
keyid
|
version
number
] *
By default, the device does not
operate in any NTP association
mode.
After you execute the command,
the device sends NTP broadcast
messages from the specified
interface.