Initial settings configuration procedure

Before starting new device, one should perform initial configuration. The configuration can be performed either using serial console port or using Telnet protocol. In order to configure the device using Console port, follow the instructions below:

To connect using Telnet protocol from the wired LAN run Telnet with 10.10.10.1 svi-interface IP-address or with Ethernet interface (eth0) IP-address 10.10.20.1.

If all above procedures are completed correctly, you will see the WanFlex OS prompt:

Login:

Every new device has no initial login and password settings, so you can use any non-zero length login and password to enter the device:

Login: root

Password: 1234

After default authorization there will be standard console prompt:

 console>

Now the device is ready for the initial configuration procedure. The most relevant thing to be done at this phase is to define device name/user/password:

 Part of commands in bold must be typed in CLI (Command Line Interface). The rest of the command name is optional and can be skipped while typing.

Device interfaces

The Device has several physical and logical interfaces:

All configured interfaces of the Device can be reviewed using the following command:

ifconfig -a

Command Line inteface (CLI)

For device’s management and configuration a Unix-like command line language is used. Every command starts having the power right after Enter key is pressed. However, each command lifetime duration is limited within one configuration session. In order to save a current configuration “config save” command is used.

Several commands can be grouped in one line using “;” character. If a wrong-syntax line is met in the group, the rest of the string is checked anyway and the wrong command is ignored. Command name can be shortened unless the ambiguity occurs.

If your terminal supports VT100 or ANSI standard you can move around the list of recently executed commands using cursor keys. Numbered list of these commands can be reviewed by “!h” command. Any command from this list can be available using “!<NUMBER>” command. TAB key performs substring search of recently executed commands.

Ctrl/R combination refreshes the command string if its content was disturbed by system messages.

The command executed with no arguments prints a short hint about its keys, parameters and syntax.

Context help can be obtained by printing “?” in any position of the line.

In addition, the router setting can be performed using protocols Telnet and HTTP. The device supports simultaneously up to 7 Telnet sessions (port 23). The setting could be performed only via one HTTP connection (port 80), but it is possible to create other connections for read only.

Configuration manipulations

Printing and saving your configuration

You can easily review your current device’s configuration by executing “config show” command. The output of the command is sorted by the configuration sections (e.g. “System parameters”, “Interfaces configuration” etc).

You can review some particular parts of the configuration specifying the part of the configuration you want to see.

Example:

 config show ifc

This command will print the interfaces configuration. You can specify several parts of the configuration separating them with a space bar.

Example:

config show rip nat

In order to save your configuration “config save” command is used. It saves the current system configuration in the Device's flash memory for subsequent permanent use. All modifications to the system parameters, if not saved by this command, are valid only during the current session (until the system reset occurs).

Import/Export

Export/import of the device’s configuration is performed using “config export” and config import” commands correspondingly. “config export” saves the Device configuration on a remote server and “config import” reloads it from a remote server. The information is transferred using FTP.

Syntax:

config export login:password@host/ftppath/filename

config import login:password@host/filename

Config import” command writes the uploaded file directly into the Flash memory without changing the active configuration in RAM. In order to make a new configuration active, right afterconfig import command implementation finishes the device should be rebooted. If config save command is run before rebooting, Flash memory is overwritten by the copy of the active configuration. This action will erase the uploaded configuration file.

Uploading firmware

The latest firmware version can be downloaded from InfiNet ftp-server: https://ftp.infinet.ru/.

Command “flashnet” uploads specified firmware version to the device. Download is performed using FTP and FTP server should be installed somewhere in the network or on a local host from where download being performed.

Syntax:

flashnet get ftp:ftp@91.191.225.246/ftppath/name

Example:

 flashnet get ftp:ftp@ftp://91.191.225.246/pub/Firmware/XG/H12/firmware.H11S01v1.6.6.bin

where instead "H11S01v1.6.6" insert the latest firmware version in InfiNet ftp-server, and set:

Username: ftp

Password: ftp

The download process has two phases:

Both phases are indicated with symbol ".".

During installation process all system events should be observed in the system journal (command sys log). After firmware updating, restart the unit with the command "restart yes"


IP address formats

Many commands of the operating system require specification of IP addresses.

In OS WANFleX, the IP-addressees may be specified in traditional numeric format. Optionally, the mask may be specified either by its bit length (the specified number of leading bits in the mask are set to 1, the remaining bits are reset to 0) or numeric value. The IP address 0.0.0.0/0 denotes all possible IP-addresses.

Therefore, the possible formats to specify IP-addresses are:

nn.nn.nn.nn (no mask is used)

nn.nn.nn.nn/N (N is the bit length of the mask)

nn.nn.nn.nn:xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx is the numerical value of the mask)

Example:

The 192.168.9.0/24 address describes the network address 192.168.9.0 and the mask with leading 24 bits on.

The same set of addresses may be denoted as 192.168.9.0:255.255.255.0.

Ethernet interface configuration

In the most basic form Ethernet interface can be configured as follows:

ifconfig eth0 1.1.1.1/24 up

"up" flag means than the interface is turned to UP state.

Also you can specify the following parameters for the Ethernet interface:

Full information about interfaces configuration can be reviewed in WanFleX OS User Guide – "ifconfig" command.

Radio interface configuration

Radio interface configuration is performed using “rfconfig” command. In its most basic form one need to configure the following parameters of the radio interface:

 Radio interface state is not saved in the configuration. That means that if you put radio interface to the down state after rebooting it will be in the up state.

Example:

 rfconfig rf5.0 freq 5260 bitr 130000 sid 01010101

Additional important parameters and settings for the radio interface:

Burst enabling does not induce any changes in the work of other devices in the network. To disable “burst” mode use “-burst” parameter in “rfconfig” command.

There are several ways to manage this parameter:

Example:

rfconfig rf5.0 freq 5260 bitr 130000 sid 10203040 burst
rfconfig rf5.0 txpwr 18 distance auto

To learn your device’s radio module capabilities type the command:

rfconfig <IF-NAME> capabilitites

Diagnostic card creation

To create a diagnostic card use the following command set:

co sh; sys log show; ifc -a; mint map det; ps; mem; sys cpu; switch stat; qm stat full; mb; sys info -f; netstat -r; lic -show=full; muf stat; rf rf5.0 capabilities full; rf rf5.0 calibrate show_caltbl; rf rf5.0 calibrate vpd_calc_show; rf rf5.0 stat full vpd_calc_show;

Network topology setup

At the core of the system is a MINT protocol, which acts as a topology defining architecture of InfiNet Wireless system. Please refer to the WANFleX OS User Guide for a detailed description of MINT protocol.