User Tools

Site Tools


routeros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
routeros [2024/05/13 08:09] – created protocolrouteros [2025/03/02 14:39] (current) protocol
Line 1: Line 1:
 +===== Known your IP =====
 +<code>
 +/tool fetch https://wtfismyip.com/text output=user
 +</code>
 +
 +
 +===== Balance =====
 +
 +[[balance]]
 +
 +
 +===== OSPF watchdog when default route vanishes, set your variables! =====
 +
 <code> <code>
 :local HOSTNAME ([/system identity get name]) :local HOSTNAME ([/system identity get name])
Line 4: Line 17:
  /routing ospf instance set 0 disabled=yes  /routing ospf instance set 0 disabled=yes
  /routing ospf instance set 0 disabled=no  /routing ospf instance set 0 disabled=no
- /log error "$HOSTNAME SEM OSPF"+ /log error "$HOSTNAME NO OSPF"
  :delay 4000ms;  :delay 4000ms;
  /tool fetch url="https://api.telegram.org/bot$BOT_ID/sendMessage?chat_id=$CHAT_ID&text=$HOSTNAME NO OSPF, OSPF RESTARTING" keep-result=no  /tool fetch url="https://api.telegram.org/bot$BOT_ID/sendMessage?chat_id=$CHAT_ID&text=$HOSTNAME NO OSPF, OSPF RESTARTING" keep-result=no
 }</code> }</code>
 +
 +
routeros.1715598588.txt.gz · Last modified: 2024/05/13 08:09 by protocol