The Versa 1xx-FWA-1010VC hosts a LAN switch module which has physical ports from 2 to 5 (refer image). The switch module is connected to the processor complex through a backplane ethernet interface vni-0/2.

vni-0/2 is Operationally UP if any of the switch ports link is up vni-0/2 is Operationally DOWN if all the switch ports link is downThe switch port link state polling is enabled on all four ports, with the same polling interval as the other vni interfaces (one second). Hence, no manual configuration is required.
The switch port link state requires a new BIOS from Advantech. All new units from Advantech comes with the new BIOS, but the existing units at customer sites/lab requires an update with the latest BIOS.
Run the sudo dmidecode -s bios-version shell command to check the BIOS version.
$ sudo dmidecode -s bios-version 1010VCV016
NOTE: BIOS upgrade is required if the version is older than V018.
Follow these steps to install the new BIOS:
$ tar -xvf advantech_fwa1010vc_bios_upgrade.tar advantech_fwa1010vc_bios_upgrade/ advantech_fwa1010vc_bios_upgrade/1010VCV018.bin advantech_fwa1010vc_bios_upgrade/README advantech_fwa1010vc_bios_upgrade/1010_bios_revisions.txt advantech_fwa1010vc_bios_upgrade/flashrom
$ uname -r 3.16.0-77-generic
$ sudo ./flashrom -w 1010VCV018.bin -p internal:laptop=this_is_not_a_laptop flashrom v0.9.9-r1955 on Linux 3.16.0-77-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. Found chipset "Intel Avoton/Rangeley". Enabling flash write... Warning: SPI Configuration Lockdown activated. OK. Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Verifying flash... VERIFIED.
$ sudo ./flashrom -v 1010VCV018.bin -p internal:laptop=this_is_not_a_laptop flashrom v0.9.9-r1955 on Linux 3.16.0-77-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. Found chipset "Intel Avoton/Rangeley". Enabling flash write... Warning: SPI Configuration Lockdown activated. OK. Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000. Reading old flash chip contents... done. Verifying flash... VERIFIED.
$ sudo dmidecode -s bios-version 1010VCV018
$ grep 'gpio_mdio' /proc/modules gpio_mdio 13284 0 - Live 0x0000000000000000 (OE)
$ sudo echo 'gpio_mdio' | sudo tee -a /etc/modules; $ sudo modprobe gpio_mdio
With 16.1R1-S6/16.2R2-S2 release, Versa FlexVNF provides the flexibility to control:
CLI Configuration
% set system platform
fwa - 1010
{
switch-link-polling
{
enable[true|false];
interval <number>;
ports[port2 port4];
}
}NOTE: No front-end (GUI) configuration is provided for this feature to enable.
Default Behavior
NOTE: In some use cases, you are allowed to configure port 2 and port 4 for vni-0/2 operational state.