Page 1 of 1

IP Cloud doesn not return IP Address

Posted: Mon Feb 20, 2017 7:23 pm
by Srv02
Hi!
I am trying to get the Public Address for a script from the Cloud function, but nothing returns.
/ip cloud get public-address
#Version: 6.38.1
Could somebody please check?
Thanks in advance!

Best regards,
mike

Re: IP Cloud doesn not return IP Address

Posted: Mon Feb 20, 2017 9:10 pm
by ebernardo
Hello,

I tried the following and it stores in a variable called cloud.

[/code]
:global cloud
:global cloud [/ip cloud get public-address]

Emerson.

Re: IP Cloud doesn not return IP Address

Posted: Mon Feb 20, 2017 11:42 pm
by Srv02
Thanks mate that worked for me! :-)
:global cloud [/ip cloud get public-address]
:put $cloud
Best regards,
mike