Question
Please let me know how to schedule alive monitoring for PoE-enabled cameras connected to LAN0-3.
Target devices
- AG10
- AG20
Answer
For the AG10/AG20 series, by combining the keep-alive alive monitoring function and the schedule function, you will be able to monitor the PoE status.
Setting example
Send pings to the device connected to LAN0 every 10 minutes. If Ping communication cannot be confirmed even after exceeding the specified number of times, reset PoE.
- LAN0 IP address: 192.168.0.2 (IP address of the device to be performed alive monitoring)
- Ping transmission interval: 1 second
- Ping transmission count: 10 times
- Ping timeout: 15 seconds
admin@amnimo:~$ amsh ← Enter amsh mode.
amnimo$ enable ← Enter administrator mode.
password:
amnimo#
amnimo# configure ← Enter configuration mode.
amnimo(cfg)#
amnimo(cfg)# schedule keep-alive devices ← Create a schedule named device with TYPE being keep-alive.
amnimo(cfg-sch-ka-devices)#
amnimo(cfg-sch-ka-devices)# datetime */10 * * * * ← Ping every 10 minutes.
amnimo(cfg-sch-ka-devices)# action poe-reset-supply lan0 down-time 60 ← If communication to lan0 cannot be confirmed, stop the PoE power supply for 60 seconds and reset it.
amnimo(cfg-sch-ka-devices)# ping dest 192.168.0.2 ← ping transmission destination
amnimo(cfg-sch-ka-devices)# no ping source ← Delete the source host IP address of the ping request.
amnimo(cfg-sch-ka-devices)# ping interval 1 ← ping transmission interval (second)
amnimo(cfg-sch-ka-devices)# ping count 10 ← ping transmission count
amnimo(cfg-sch-ka-devices)# no ping deadline
amnimo(cfg-sch-ka-devices)# ping timeout 15 ← ping timeout (second)
amnimo(cfg-sch-ka-devices)# enable ← Enable the schedule.
amnimo(cfg-sch-ka-devices)# show config
amnimo(cfg-sch-ka-devices)# exit
amnimo(cfg)# show schedule ← Confirm the settings.
NAME TYPE START CMD/STATUS
devices keep-alive 2022-06-28 13:40:01 ping(OK) ← If the ping is successful, (OK) will be displayed.
For items that are not set explicitly, the initial value is automatically used.
Reference
Comments
0 comments
Please sign in to leave a comment.