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 address of the NTP peer. It can be the IPv4 or IPv6 address of a host
other 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 need not be configured.
l
(Optional) Configuring the Source Interface of 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 local source interface that sends NTP packets is specified.
Commonly, specify the IP address of the NTP server on the client. The client and
server can then exchange NTP packets using this IP address
If the source interface to send NTP packets is specified on the symmetric active end,
the IP address of the NTP peer configured on the symmetric passive end should be
the same; otherwise, the passive end cannot process NTP packets sent from the active
end and clock synchronization fails.
----End
5.2.5 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
Do as follows on the router functioning as an NTP broadcast server:
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The interface to send NTP broadcast packets is specified.
3.
Run:
quit
The system view is displayed.
4.
Run:
ntp-service broadcast-server
[
authentication-keyid
key-id
|
version
number
]*
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
5 NTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
115