Tuesday, November 6, 2007

Setting NTP client in Huawei Datacomm Equipment (Router, Switch, Firewall)

At past post I showed how to setting syslog in Huawei equipments. Now I will show how to make a Huawei equipments synch their time to a centralized server using NTP protocol.
Setting the IP adddres of the NTP server (if you are using NTP server with higher stratum):

ntp-service unicast-server 10.0.10.4

or if you want to sync to other peer (with same stratum):

ntp-service unicast-peer 10.0.11.7

to make router only listen ntp from verified network (increase security), add this line:

source-interface Ethernet 1/0/6

then check the ntp synchronization using command:

display ntp-service status
display ntp-service sessions