Advanced LAN Bypass User Manual
46
4.7
./lbpcu -SA
Sets the current action for the specified event on a specific segment (cf. Section
3.7.3.2):
Figure 4.10 Usage of the "lbpcu -SA" Command
Example
Set BYPASS as the current action for the POWER_OFF event on Segment 1:
Figure 4.11 Set BYPASS Action for the POWER_OFF Event on Segment 1
root@localhost:~# ./lbpcu -SA
Example: Set segment_1 as BYPASS action for POWER_OFF event.
So use -SA 1 POWER_OFF BYPASS will set BYPASS action for
POWER_OFF event on segment_1
Command: Set Action
Syntax: SA <segment> <event> <action>
Output: N/A
event list:
POWER_ON
POWER_OFF
POWER_RST
WATCHDOG_START
WATCHDOG_TIMEOUT
EXTERNAL_TRIGGER
BUTTON_EVENT_1
BUTTON_EVENT_2
action list:
CONNECT
DISCONNECT
BYPASS
DO_NOT_CHANGE
Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93)
root@localhost:~# ./lbpcu -SA 1 POWER_OFF BYPASS
root@localhost:~# ./lbpcu -GA 1 POWER_OFF
Event: POWER_OFF
Action: BYPASS
Summary of Contents for LAN Bypass
Page 1: ...User Manual Advantech Advanced LAN Bypass...
Page 4: ...Advanced LAN Bypass User Manual iv...
Page 10: ...Advanced LAN Bypass User Manual x...
Page 11: ...Chapter 1 1 ADVANCED LAN BYPASS...
Page 14: ...Advanced LAN Bypass User Manual 4...
Page 15: ...Chapter 2 2 OVERVIEW...
Page 26: ...Advanced LAN Bypass User Manual 16...
Page 27: ...Chapter 3 3 LIBLBPCU ADVANCED LAN BYPASS LIBRARY...
Page 51: ...Chapter 4 4 LBPCU...
Page 79: ...Appendix A A OS limitation...
Page 81: ...71 Advanced LAN Bypass User Manual Appendix A OS limitation...