Hello
how to check the status of the interface, from script, that is not down?
Hello
how to check the status of the interface, from script, that is not down?
If you want to check if the interface is “running” and something is plugged in, you can do:
:if ([/interface get ether9 running] = false) do={
/log info “ether9 is not running”
/do something else
}
this code doesn’t work.
in another topic found working code
[/interface get [/interface find name=“ether9”] running]