Hello
How to write a script to pick out queue 2M / 2M and the ip address of the queue added to the address list?
/queue simple find where max-limit=“2M/2M”
Hello
How to write a script to pick out queue 2M / 2M and the ip address of the queue added to the address list?
/queue simple find where max-limit=“2M/2M”
I did something like that but nothing looks even if they are the queue:
/ ip firewall address-list add address = [get [/ queue simple find target where [/ queue simple find max-limit = “2M/2M”]]]
try this:
/queue simple
:foreach i in=[ find ] do={
:local max [ get value-name=max-limit $i]
:local ip [ get value-name=target $i]
:if ($max = “2M/2M”) do={
/ip firewall address-list add list=queue address=$ip
}
}
I would like augo , I want to discover and capture the ips only the max -limit queues in 1024k / 5548k and add in addrees -list . It’s possible?
I would like to perform a similar action
(1) detect queue of “2M/2M”
(2) find queue “Name” and then
(3) in PPP “Active Connections” disconnect this client PPPoE session
Any advice on how to achieve this most welcome