cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5973
Views
0
Helpful
0
Replies

Cellular auto modem powercycle

daniel-nilsson
Level 1
Level 1

Hi
Can someone explain why this doesn´t work?
If the OSPF default-route goes away i want to powercycle the cellular modem.
Now it powercycle without control.
Actualy, we want the to powercycle only if the default goes away from global routing, not if it goes away from a VRF.

The config
event manager applet POWERCYCLE_MODEM
 event routing network 0.0.0.0/0 type remove protocol OSPF
 action 2.0 cli command "en"
 action 3.0 cli command "conf t"
 action 4.0 cli command "service internal"
 action 5.0 cli command "exit"
 action 6.0 cli command "test cellular 0 modem-power-cycle"
 action 7.0 syslog msg "MODEM HAS BEEN RESET VIA EEM"
!

Thanks
/Daniel

0 Replies 0