Hello everybody
Can someone help me read the IP address of the ppoe client connection and add the IP to the VXLAN vtep remote ip?
I wrote this but it doesn’t work.
:global newip [/ppp active get [find interface=“ppoe-client1”] CALLER-ID];
:global oldip [/interface vxlan vteps get [find interface=“vxlan-daftarmshd”] REMOTE-IP];
:if ($newip != $oldip) do={
/interface vxlan vteps set remote-ip=$newip numbers=0;
:set $oldip $newip;
}