Dear experts,
sorry, I'm very very poor knowledge of scripting...
I was able to add my IP in a global variable, like:
:global WAN1 "100.10.20.40"
:global WAN2 "100.10.20.50"
it would be nice to achieve something like:
:log info "WAN1 IP is 100.10.20.40 and WAN2 IP is 100.10.20.50"
goal is to "get" the WAN name to set $WAN1/2 , like $[$[/interface get [find name=WAN1] name]]
Is this possible?
Hope this is understandable