
7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
70
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
7.4.7.
Enable PoE
Command and Response
ç
SET·/SYS/MB/POE.PoeEnabled=
<PoE_status>
æ
pw·/SYS/MB/POE.PoeEnabled=
<PoE_status>
Parameters
<PoE_status>
True
: PoE sending is enabled on P2 Ethernet port.
False
: PoE sending is disabled on P2 Ethernet port.
Example
ç
SET /SYS/MB/POE.PoeEnabled=true
æ
pw /SYS/MB/POE.PoeEnabled=true
INFO:
The RAP-B511 sends PoE when the connected device is also PoE-compatible.
7.4.8.
Running a Macro
DIFFERENCE:
This command is available from FW package v1.1.0b3.
DEFINITION:
Macro is a batch of pre-defined commands stored in the device.
#macro #new
You can create your custom macros in a file, upload to the device and run at any time. The uploading can be
done over LDC, see the
Uploading New Macros into a New Preset
section. The following LW3 command is
suitable only for running a macro.
Command and Response
ç
CALL·/CTRL/MACROS:run(
<macro_name>
)
æ
mO·/CTRL/MACROS:run
Example
ç
CALL /CTRL/MACROS:run(Macro1)
æ
mO /CTRL/MACROS:run
7.5.
Cleartext Login Protection
DIFFERENCE:
This feature and below commands are available from FW package v1.1.0b3.
This cleartext login tool allows setting a password for login, thus, any change in the device can be performed
only after a successful login – coming from any control interface (RS-232, Ethernet, etc…). The login is valid
until a TCP socket break in case of Ethernet connection.
#login #new
ATTENTION!
If the login is enabled, the miniweb is not available.
INFO:
The login password is erased and the login is disabled when restoring the factory default values.
The following can be queried without login:
▪
ProductName
▪
PartNumber
▪
SerialNumber
▪
FirmwareVersion
▪
PackageVersion
▪
MacAddress
7.5.1.
Setting the Login Password
Command and Response
ç
CALL·/LOGIN:setPassword(
<password>
)
æ
mO·/LOGIN:setPassword
Example
ç
CALL /LOGIN:setPassword(pr0t3ctED)
æ
mO /LOGIN:setPassword
7.5.2.
Login the Device
Command and Response
ç
CALL·/LOGIN:login(
<password>
)
æ
mO·/LOGIN:login
Example
ç
CALL /LOGIN:login(pr0t3ctED)
æ
mO /LOGIN:login
After a successful login, the
LoggedIn
property becomes
true
and the LW3 tree is available.