Help with remove Command
Posted: Thu Feb 17, 2022 11:52 am
Hi
Please could someone assist me with this?
I need script to remove sip connections every hour. I have tried the following
/ip firewall connection remove [/ip firewall connection find where connection-type=sip]
I also tried to mark the connections and then
/ip firewall connection remove [/ip firewall connection find where connection-mark=SIP]
Also tried --- /ip firewall connection remove numbers=[/ip firewall connection find where connection-mark=SIP]
and --- /ip firewall connection remove numbers=[/ip firewall connection find where connection-type=sip]
None of these have any effect.
Please can someone show me what I am doing wrong?
Thanks
Please could someone assist me with this?
I need script to remove sip connections every hour. I have tried the following
/ip firewall connection remove [/ip firewall connection find where connection-type=sip]
I also tried to mark the connections and then
/ip firewall connection remove [/ip firewall connection find where connection-mark=SIP]
Also tried --- /ip firewall connection remove numbers=[/ip firewall connection find where connection-mark=SIP]
and --- /ip firewall connection remove numbers=[/ip firewall connection find where connection-type=sip]
None of these have any effect.
Please can someone show me what I am doing wrong?
Thanks