date
This command sets the system time on the device.
Syntax
date <TIME> <DAY> <MONTH> <YEAR>
Parameters
<TIME> – time, specifies in format of hh:mm:ss;
<DAY> – day, may take values [1..31];
<MONTH> – month, may take values: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec;
<YEAR> – year, may take values [2000..2038].
Command mode
ROOT
Example
ma4000# date 11:00:00 2 jan 2014
clock timezone
This command sets the time zone on the device.
Syntax
clock timezone hours <HOURS> minutes <MINUTES>
Parameters
<HOURS> – hourly shift relative to Coordinated Universal Time (UTC);
<MINUTES> – shift in minutes relative to Coordinated Universal Time (UTC).
Command mode
CONFIG
Example
ma4000(config)# clock timezone hours 1 minutes 0
show date
This command displays the system time of the basket.
Syntax
show date
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show date Fri May 20 16:18:53 T 2011
System time set on the device: 16 hours 18 minutes 53 seconds, May 20, 2011, Friday.
clock summer-time
This command allows you to configure the transition to daylight saving time of the system time of the basket.
Syntax
clock summer-time recurring zone <DST ZONE> start-week <WEEK> start-day <DAY> start-month <MONTH> start-time <TIME> end-week <WEEK> end-day <DAY> end-month <MONTH> end-time <TIME> hours <HOURS> minutes <MINUTES>
The command allows you to set the time of switching the clock without reference to a specific date, for example, the first Saturday of March.
clock summer-time date zone <DST ZONE> start-day <DATE> start-month jan start-year <YEAR> start-time <TIME> end-day <DATE> end-month dec end-year <YEAR> end-time <TIME> hours <HOURS> minutes <MINUTES>
The command allows you to set the exact date of switching the clock, for example, December 4.
Parameters
<DST ZONE> – zone name;
<WEEK> – number of week in month, may take values [1..5];
<DAY> – day of the week, may take values [mon, tue, wed, thu, fri, sat, sun];
<DATE> – day of the week, may take values [1..31]
<MONTH> – month, may take values: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec;
<TIME> – time, specified in format of hh:mm;
<YEAR> – year, may take values [2000..2038];
<HOURS> – number of hours, on which time will shift, may take values -23..23;
<MINUTES> – number of minutes, on which time will shift, may take 0..59.
Command mode
CONFIG
Example
ma4000(configure)# clock summer-time recurring zone AAA start-week 1 start-day sat start-month mar start-time 11:11 end-week 1 end-day sat end-month nov end-time 11:59 hours 10 minutes 00