Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Scripting • Re: Isolate a value from a console output

$
0
0
I appreciate your help @Amm0.

If I use
Code:
:do {:set currentIPv4 ([/ip address/get [find interface=$wanInt] address])}put $currentIPv41.2.3.4/21
The resulting address contains the network mask.
Now, I need to remove this mask number, but how?

Statistics: Posted by diasdm — Fri Mar 22, 2024 4:10 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles