Overblog
Edit post Follow this blog Administration + Create my blog

Configuring the System Time

Posted on March 20 2014 by 3Anetwork

How to configure the system time, time zone, time stamp, NTP (Network Time Protocol), and start/end time of the daylight saving time (DST) of the Huawei MA5600 /Huawei MA5683T to ensure that they are consistent with those in the actual condition.

To set the time stamp between the NMS and the NE to use the UTC time, do as follows:

huawei#time time-stamp

{ local<K>|utc<K> }:utc

Command:

time time-stamp utc

Assume that the current time zone of MA5600T/MA5603U A is GMT+7:00, the device uses the network clock to adjust the time, and VLAN interface 2 is used to sent a clock synchronization request packet to MA5600T/MA5603U B (the IP address is 10.20.20.20/24 and the device works at layer 4) that functions as the NTP server. The start time is 00:00:00 on May 1, the end time is 00:00:00 on September 30, and the adjust time is 1:00. That is, if the local time is 5:00, the time is adjusted to 6:00. To set the DST, do as follows:

huawei(config)A#timezone GMT+ 7:00

huawei(config)B#ntp-service refclock-master 4

huawei(config)A#ntp-service unicast-server 10.20.20.20 source-interface vlanif 2

huawei(config)A#time dst start 5-1 00:00:00 end 9-30 00:00:00 adjust 1:00

Assume that the current time zone of MA5600T/MA5603U A is GMT- 4:00, the local time is used, the current time is 2010-01-01 12:10:10. The start time is 00:00:00 on May 1, the end time is 00:00:00 on September 30, and the adjust time is 2:00. That is, if the local time is 5:00, the time is adjusted to 7:00. To set the DST, do as follows:

huawei(config)A#timezone GMT- 4:00

huawei(config)A#time 2010-01-01 12:10:10

huawei(config)A#time dst start 5-1 00:00:00 end 9-30 00:00:00 adjust 2:00

Comment on this post