NOTE
l
The NTP protocol supports the client/server, peer, broadcast, and multicast working modes. The
following uses the client/server mode as an example.
l
The L3 interface and the interface IP address must be available for the client and the server to
communicate with each other.
l
In the client/server mode, you need to configure only the client and the NTP master clock of the server.
l
In the client/server mode, the client is synchronized to the server but the server will not be synchronized
to the client.
l
The clock stratum of the synchronizing device must be smaller than that of the synchronized device.
Otherwise, the clock synchronization fails.
l
The device that runs the NTP protocol can be synchronized to other clock sources or function as the
clock source for synchronizing other clocks. In addition, this device and other devices can be set to
synchronized from each other. When the device works in the client mode, you need not set the system
time and the device is automatically synchronized to the remote server.
Step 5
Configure the start/end time of the DST.
Run the
display time dst
command to query the current start/end time of the DST of the system.
If the start/end time of the DST is consistent with the actual start/end time of the DST, you need
not change it. If the start/end time of the DST is inconsistent with the actual start/end time of
the DST, run the
time dst
command to change the start/end time of the DST.
----End
Result
The system time, time zone, time stamp, NTP, and start/end time of the DST are consistent with
those in the actual condition.
Example
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/MA5603T/MA5608T 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/MA5603T/MA5608T 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/MA5603T/MA5608T 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
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
1 Commissioning
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
66