83
Configuring NTP in client/server mode
Follow these guidelines when you configure an NTP client:
•
For the client to synchronize to an NTP server, make sure the server is synchronized by other
devices or uses its local clock as a reference source.
•
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 executing the
ntp-service unicast-server
or
ntp-service ipv6 unicast-server
commands multiple times.
•
When the device operates in client/server mode, specify the IP address for the server on the
client.
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
}
[
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 NTP server for the
device:
ntp-service ipv6 unicast-server
{
server-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 NTP server is
specified.
Configuring NTP in symmetric active/passive mode
Follow these guidelines when you configure a symmetric-active peer:
•
For a symmetric-passive peer to process NTP messages from a symmetric-active peer,
execute the
ntp-service enable
command on the symmetric passive peer to enable NTP.
•
For time synchronization between the symmetric-active peer and the symmetric-passive peer,
make sure either or both of them are in synchronized state.
•
You can configure multiple symmetric-passive peers by executing the
ntp-service
unicast-peer
or
ntp-service
ipv6
unicast-peer
command multiple times.
•
When the device operates in symmetric active/passive mode, specify on a symmetric-active
peer the IP address for a symmetric-passive peer.
To configure a symmetric-active peer:
Step
Command
Remarks
1.
Enter system
view.
system-view
N/A
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...