Set Time Zone and Daylight Saving Time(SET TZ)

Function

A configuration command that sets the time zone and daylight saving time.

Note

1. The command is delivered to boards. If the command runs successfully, the time zone and daylight saving time of the boards are changed.

2. Do not set the start month the same as the end month.

3. If the daylight saving time is adjusted on the NE, you must configure the DST on the M2000 synchronously to ensure that the DST of the NE on the M2000 can be updated.

4. It is not recommended to set DST at N o'clock (N is the integral number).

Parameters

ID Name Description
ZONET Time zone

Meaning: time zone

Value range: GMT-1200~0,GMT-1100~4,GMT-1000~8,GMT-0930~10,GMT-0900~12,GMT-0800~16,GMT-0700~20,GMT-0600~24,GMT-0500~28,GMT-0430~30,GMT-0400~32,GMT-0330~34,GMT-0300~36,GMT-0200~40,GMT-0100~44,GMT~48,GMT+0100~52,GMT+0200~56,GMT+0300~60,GMT+0330~62,GMT+0400~64,GMT+0430~66,GMT+0500~68,GMT+0530~70,GMT+0545~71,GMT+0600~72,GMT+0630~74,GMT+0700~76,GMT+0800~80,GMT+0900~84,GMT+0930~86,GMT+1000~88,GMT+1030~90,GMT+1100~92,GMT+1130~94,GMT+1200~96,GMT+1245~99,GMT+1300~100,GMT+1400~104.

Explanation: The relation between the parameter and the time zone is as follows: for example, in GMT-1200~0, GMT-1200 indicates the time zone, 0 indicates the parameter. Set the time zone by starting with GMT-1200~0. The value of the parameter increases by 4 when the time zone increases by an hour. The minimum offset of the daylight saving time is 15 minutes. As for GMT+0400~64, the time zone increased by 16 hours compared with GMT-1200; therefore, the value of the parameter increases by 64.

Default value: None

DST Daylight saving time flag

Meaning: daylight saving time flag

Value range: YES, NO

Explanation: Set the parameter to YES if you need to set the DST in the system. Otherwise, set this parameter to NO.

Default value: None

SM Start date mode

Meaning: Start date mode

Default value: DATE(Date Mode), WEEK(Week Mode), DATEWEEK(Date and week mode)

Explanation: This parameter specifies the start date mode of the DST.

Default value: None

SMONTH Start month

Meaning: start month

Default value: JAN(January), FEB(February), MAR(March), APR(April), MAY(May), JUN(June), JUL(July), AUG(August), SEP(September), OCT(October), NOV(November), DEC(December).

Explanation: This parameter specifies the start month of the DST.

Default value: None

SDAY Start date

Meaning: start date

Value range: 1-31

Explanation: This parameter specifies the start date of the DST.

Default value: None

SWSEQ Start week sequence

Meaning: start week sequence

Default value: LAST(last), FIRST(First), SECOND(Second), THIRD(Third), FOURTH(Fourth).

Explanation: This parameter specifies the start week of the current month of the DST.

Default value: None

SWEEK Start week

Meaning: start week

Default value: MON(Monday), TUE(Tuesday), WED(Wednesday), THU(Thursday), FRI(Friday), SAT(Saturday), SUN(Sunday)

Explanation: This parameter specifies the start week of the DST.

Default value: None

ST Start time

Meaning: start time

Value range: HH&MM&SS

Explanation: This parameter specifies the start time of the DST. Set the time in the HH & MM & SS format.

Default value: None

EM End date mode

Meaning: end mode

Default value: DATE(Date Mode), WEEK(Week Mode), DATEWEEK(Date and week mode)

Explanation: This parameter specifies the end date mode of the DST.

Default value: None

EMONTH End month

Meaning: end month

Default value: JAN(January), FEB(February), MAR(March), APR(April), MAY(May), JUN(June), JUL(July), AUG(August), SEP(September), OCT(October), NOV(November), DEC(December).

Explanation: This parameter specifies the end month of the DST.

Default value: None

EDAY End date

Meaning: end date

Value range: 1-31

Explanation: This parameter specifies the end date of the DST.

Default value: None

EWSEQ End week sequence

Meaning: end week sequence

Default value: LAST(Last), FIRST(First), SECOND(Second), THIRD(Third), FOURTH(Fourth).

Explanation: This parameter specifies the end week of the current month of the DST.

Default value: None

EWEEK End week

Meaning: end week

Default value: MON(Monday), TUE(Tuesday), WED(Wednesday), THU(Thursday), FRI(Friday), SAT(Saturday), SUN(Sunday)

Explanation: This parameter specifies the end week of the DST.

Default value: None

ET End time

Meaning: end time

Value range: HH&MM&SS

Explanation: This parameter specifies the end time of the DST. Set the time in the HH&MM&SS format.

Default value: None

TO Time offset[min]

Meaning: time offset[minutes]

Value range: 0-120

Explanation: This parameter specifies the time offset of the DST. This parameter is expressed in minute.

Default value: None

Example

1. Cancel DST by choosing NO in the daylight saving time flag.
SET TZ: DST=NO;
2. Set DST (Time zone = 0; DST flag = YES; Start mode = week mode; Start month = MAR; Start week sequence = LAST; Start week = WED; Start time = 01:01:01; End mode = date mode; End month = JAN; End data = 1; End time = 01:01:01; Time offset = 0 minutes):
SET TZ: ZONET=GMT, DST=YES, SM=WEEK, SMONTH=MAR, SWSEQ=LAST, SWEEK=WED, ST=01&01&01, EM=DATE, EMONTH=JAN, EDAY=1, ET=01&01&01, TO=0;

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.