niammuddin

ketika gateway dengan comment "INET1" tidak aktif maka pppoe akan di re-enable

May 2nd, 2021 (edited)
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. ## ketika gateway dengan comment "INET1" tidak aktif maka pppoe akan di re-enable
  2. :local pppoe "PPPOE-CLIENT"
  3. :local status [/ip route get [find comment="INET1"] active]
  4. :if ($status = false) do={/interface pppoe-client enable $pppoe}
Add Comment
Please, Sign In to add comment