Logo

EcoRouter

EcoNAT

EcoQOE

EcoBypass

English

  • Release Notes_EN
  • Time settings EcoNAT Documentation / Quick system start / Time settings

     

     

    Setting the system time is very important for the proper functioning of EcoNAT, because the timestamps in the logged messages are based on this time.

    EcoNAT is using only UTC (Universal Time Coordinated) time zones.

    Time can be viewed using the show time command. You can also set the time manually via the edit datetime command (the date and time must be entered in UTC).

    MyEcoNAT:1:# show time

    Current time is 12-Jul-2019T13:20:52 (UTC)

    Current time is 12-Jul-2019T13:50:52 (Local)

    MyEcoNAT:2:# edit datetime 17-Jun-2014T09:00:00
    Time synchronization via NTP may de configured in the following configuration branch:
    system
    {
    ntp
    {    
    disable
    primary_server "131.131.249.19"
    secondary_server "185.21.78.23"
    tertiary_server "183.143.51.50"
    interval 600
    }
    }
    To enable NTP time synchronization, you have to go to the system ntp branch and execute the enable command.
    MyEcoNAT:1:# root
    MyEcoNAT:2:# system ntp
    MyEcoNAT:3:system.ntp# enable
    Synchronization status with NTP server can be seen with the command show ntp.
    MyEcoNAT:1:# show ntp
    SERVER |offset |delay |status |strat |refid |rootdelay |reach |
    --------------------------------------------------------------------------------------------------
    83.143.51.50 |+0.025177 |0.069693 |0x24 |1 |0x00535050|0.000000 |0x7f |
    85.21.78.23 |+0.053309 |0.012691 |0x24 |2 |0x169024c0|0.019104 |0xff |
    System logs and connections logs can display the local time. Use the parameter system system_log timeskew to set the local time. This parameter contains the offset of the local time zone relative to UTC in minutes. For example, to configure the time zone of Moscow (UTC + 3), you must set the value 180 (3x60) minutes.
    MyEcoNAT:1:# root
    MyEcoNAT:2:# system system_log timeskew 180