嗨大家好,场景:RB493 v. 5.19我使用DNS -update命令工具在脚本中注册到DNS服务器:/tool DNS -update DNS -server=$dnsIP ttl=86400 name=$ssname zone=$ zoneddomain address=newIP ....如果执行命令工具dns-update失败(如连接超时)…
另一个通过API的脚本测试:我将“once”指令移动到行尾。脚本的代码::log info "TEST MONITOR";/interface Ethernet monitor ether1 do={:log info "ether1 state $status";} once;输出日志为:script info TEST MONITOR script info eth…
嗨,大家好,我使用的是5.19 FW的RB4xx路由器,我使用以下脚本进行连接状态记录::日志信息“MONITOR493”;/interface Ethernet monitor ether1 once do={:log info "ether1 state $status"} /interface Ethernet monitor ether2 once do={:log info "ether2…