:global uScript diatas bermaksud apabila ether1 tidak dicolokan ke modem/ont maka pppoe disable.
/interface ethernet monitor ether1 once do={
:set u $status
}
:if ($u = "link-ok") do={
:log warning message="ether3 nancep, hidupkan pppoe"
/in pppoe-client enable [find disabled=yes]
} else {
:log warning message="ether3 ga nancep"
/in pppoe-client disable [find disabled=no]
}
Sunday, February 28, 2016
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment