Step 2 is optional. If
source-interface
is specified in both Step 2 and Step 3, use the
source interface specified in Step 3 preferentially.
ip-address
is the IP address of the NTP peer. It can be the IP address of a host address
rather than a broadcast address, a multicast address, or the IP address of the reference
clock.
NOTE
After the NTP peer is specified, the local router runs in symmetric active mode. The symmetric
passive end does not need to be configured.
4.
Run:
commit
The configurations are committed.
l
(Optional) Configuring the NTP Symmetric Passive End
1.
Run:
system-view
The system view is displayed.
2.
Run:
ntp-service source-interface
interface-type interface-number
[
vpn-
instance
vpn-instance-name
]
The specified local source interface is configured to send the NTP packet.
Commonly, specify the IP address of the NTP symmetric passive on the symmetric
active. The symmetric active and symmetric passive can then exchange NTP packets
using this IP address.
If the source interface to send NTP packets is specified on the symmetric passive end,
the IP address of the NTP peer configured on the symmetric active end should be the
same; otherwise, the active end cannot process NTP packets sent from the passive end
and clock synchronization fails.
3.
Run:
commit
The configurations are committed.
----End
2.3.4 Configuring the Broadcast Mode
This part describes how to configure the NTP broadcast mode on the LAN to synchronize clocks
on the LAN.
Procedure
l
Configuring an NTP Broadcast Server
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
2 NTP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
22