Hello, I can’t determine eoip tunnel status via scripting ( /interface bridge port monitor eoip-tunnel1). I don’t have any idea how I can do this. I tried to use “find”, but script doesn’t work correctly as I want
.Maybe someone have answer for my problem?.
[admin@rb11] interface eoip> : global STATUS 0; /interface bridge port monitor eoip-tunnel1 once do={:set STATUS $status}; :put ("\nEoIP iface status: " . $STATUS)
status: forwarding
port-id: 32769
designated-root: 32768.FE:C8:E6:9B:B8:42
designated-bridge: 32768.FE:C8:E6:9B:B8:42
designated-port: 32769
designated-cost: 0
EoIP iface status: forwarding
[admin@rb11] interface eoip>
![]()
working, thx
… but I want to use status of eoip tunnel to send e-mail message when status is forwarding and I have next problem with this…
how merge status = forwarding with /tool/e-mail… any idea ?