Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Center
ParameterDescription
start Starts DNS client service.
stop Stops DNS client service.
-domain={name} Sets a local d omain name.
-server={address} Sets a server IP address. This parameter can be set several times.
get

Loads a new software version to the device. Loading is performed via FTP. The file name shall be specified in full, in the format of the file system.

The download process has two phases:

  • Reading a file from a remote server and checking its integrity.
  • Upload the system image to the device's memory.

The second phase is  indicated with symbol ".".

To update firmware from InfiNet FTP server use command:

Code Block
languagetext
themeEmacs
flashnet get ftp:ftp@ftp://92.168.100.34/firmware.H11S01v1.6.6.bin

where

  • "H11" – hardware platform.
  • "1.6.6" – latest firmware version.
  • "ftp" – username.
  • "ftp" – password.
Note
titleNOTE

After firmware updating, restart the unit with the command:

Code Block
languagetext
themeEmacs
restart yes
put Downloads current software from the device.
-S Any other  IP address (SourceAddress) may be set as default.

cron

The WANFleX firmware allows to set application of some commands at a specified time or with a certain frequency. Thus, is possible to perform regular configuration backup without the participation of the system administrator.

Syntax:


Code Block
languagetext
themeEmacs
cron start
cron stop
cron clear
cron add commandID "command" [from][-to][\interval]
cron del commandID
cron dump

Examples from or to:
  31/12/2016 12:00:00
  31/12/2016 12:00
  12:00:00
  12:00
Any field can be set as '.' - don't care.
Examples of intervals
  DD HH:MM:SS
 \ 2 12:33:15
 \ 2 12:33
 \   12:33:15
 \   12:33
 \ 2
Don`t care not allowed.
Center
ParameterDescription
startStarts the Cron service.
stop Stops the Cron service.
clearClears all records in the table.

add commandID "command" [from][-to][\interval]

Adds new record to the Cron table:

  • "commandID" – arbitrary name of the record.
  • "command" – command to be performed.
  • "from" and "-to" – allow to set the exact date and/or time of the command application. Valid formats (any character can be replaced with "." to set "don't care" value):
    • 31/12/2016 12:00:00
    • 31/12/2016 12:00
    • 12:00:00
    • 12:00
  • "\interval" – allows to adjust the frequency of the command application. Valid formats (the "." character is not allowed):
    • \ 2 12:33:15
    • \ 2 12:33
    • \   12:33:15
    • \   12:33
    • \ 2
Note
titleNOTE

Commands that contain the exact date and/or time will be valid only if the system date and time are set by sntp or gps. Otherwise, only commands with application frequency will be executed, every 7 days for example (since the device last reboot).

del commandIDRemoves the record from the Cron table.
dumpDisplays the table.

Example:

Set the configuration backup every 6 days.

Code Block
languagetext
themeEmacs
cron add TEST "co export test:admin@11.12.13.14/testserver/1111" \6
cron: ID 'TEST' replaced
cron start
cron dump
id='TEST' range=' \ 6' command='co export test:admin@11.12.13.14/testserver/1111' next='23/07/2019 10:40:29'