BaroxSwitchSNMP

The BaroxSwitchSNMP plugin connects a Barox switch to G-Core via SNMP. The IP switch operation action is used to operate a port of the switch.

System Requirements

Usable switches

The following Barox switches can be used with the BaroxSwitchSNMP plugin:

  • RY-GSP17-10

  • RY-GSP22-26-370

  • RY-LGS23-26

  • RY-LGSO25-24

  • RY-LGSO25-28

  • RY-LGSP23-10G

  • RY-LGSP23-26

  • RY-LGSP23-26370

  • RY-LGSP28-10

  • RY-LGSP28-52-740

  • RY-LGSPTR23-26

  • RY-LPIGE-602GBTME

  • RY-LPIGE-804GBTME

  • RY-LPITE-802GBTME

  • RY-LPITE-804GBTME

  • E5V24-01_LT-L602GBTME

  • E5V24-01_LT-L802GBTME

  • E5V24-01_LT-L804GBTME

  • E5V24-01_LT-LPIGE-802GBTME

  • E5V24-01_LT-LPIGE-804GBTME

  • E5V40-01_LT-LPITE-402GBTME

IP Address

The Barox switch must be part of the IP range of the G-Core server. By default, the switches have the IP address 192.168.1.1.

The IP address of the Barox switch can be changed on 192.168.1.1:180. The login data are:

  • Username: admin

  • Password: admin

Installation

How to install the plugin:

  1. Run the BaroxSwitchSNMPPlugin_installer.exe file on the G-Core server.

  2. In the License Agreement dialog window, select the option I accept the agreement and click Next.

  3. In the Ready to Install dialog window, click Install.

  4. Restart the G-Core server.

The plugin files (BaroxSNMPFunctions.dll, BaroxSwitchDeviceSNMP.dll, BaroxSwitchSNMP.dll and BaroxSwitchConfig.json) and the BaroxSwitchSNMPUninst folder are added to the G-Core installation directory.

Add the Plugin

How to add the BaroxSwitchSNMP plugin:

  1. Click the icon in the toolbar of the Hardware configuration window. The Add hardware module dialog window opens.

  2. Select the Plugin <BaroxSwitchSNMP>.

  3. Click Add. The plugin is added to the Hardware module list.

You must add a separate plugin for each Barox switch. You can add a maximum of 32 plugins.

Configuration

Plugin Settings

How to configure the plugin settings:

  1. Select the plugin from the Hardware module list.

  2. Enter the following settings:

    Name

    Description

    IPAddress

    Enter the IP address of the Barox switch. The default IP address is 192.168.1.1.

    Password

    Not supported. The authentication with username and password is not possible.

    SNMPPort

    The SNMP port of the Barox switch is 161 by default.

    Type

    Enter the model type of the Barox switch (see Usable switches).

    Username

    Not supported. The authentication with username and password is not possible.

  3. Click the icon in the menu bar to save your configuration.

IP Switch Operation Action

To operate a port of the switch, use the IP switch operation action. It allows you to turn specific PoE ports of the switch on or off to restart connected cameras. The switch can also be rebooted via the plugin to interrupt the PoE power supply to all connected devices. You can also disconnect specific switch ports from the internet by disabling them.

How to configure the IP switch operation action:

  1. Add an event with the IP switch operation action to the media channel of the plugin.

  2. In the operation drop-down list, select the operation you want to do. The following operations are available:

    Operation

    Values

    PoE on (0)

    Power on PoE, port number 1

    operation: PoE on (0)

    port no: <IP Address>:1

     

    Power on PoE, port number 2

    operation: PoE on (0)

    port no: <IP Address>:2

    Power off (1)

    Power off PoE, port number 1

    operation: PoE off (1)

    port no: <IP Address>:1

    PoE reset (2)

    Reboot Barox switch, port number 1

    operation: PoE reset (2)

    port no: <IP Address>:1

    parameter: -99

    Port off (4)

    Disable port number 1

    operation: Port off (4)

    port no: <IP Address>:1

    Port set to auto speed (5)

    Set auto speed, port number 1

    operation: Port set to auto speed (5)

    port no: <IP Address>:1

  3. In the port no field, enter the IP address and the port number of the switch (<IP address>:<port>).

  4. Click the icon in the menu bar to save your configuration.

  5. The plugin retrieves the required SNMP command from the switch.