1
2
3
4
5
6
7
8
| /ip address:foreach i in=[ find interface=ether1] do={:local ip [get value-name=address $i]:local status [ get value-name=disabled $i]:if ($status = false) do={:log error "ip address $ip"}} |
Note: Change the WAN (ether1) interface if required.
No comments:
Post a Comment