tkwak
May 18, 2008, 7:01am
1
Dear All
I am using the API to develop an control software as ‘Mini-winbox’, now i face an trouble with the api.
when i want to issuse the command like ‘/ip/router/unset .id=*2 routing-mark’
,‘/ip/firewall/nat/unset .id=*24 src-address’ , i get get an argument error.
How to using unset command through RouterOS API?
Thank u very much~!
did sentence
/ip/router/unset
.id=*2
=routing-mark=
not work?
tkwak
May 19, 2008, 2:58am
3
Dear Chupaka:
I am using the same command as below:
/ip/route/unset
=.id=*2
=routing-mark=
/ip/route/unset
=.id=*2
=routing-mark
but , doesn’t work, RouterOS replay
!trap
message=argument error
I am using RouterOS v3.0 or v3.9, has the same thing.
Would you like to test this? thanks you very much
tkwak
May 20, 2008, 1:38am
5
normis ? would you like to help us on this topic?
tkwak
May 22, 2008, 5:49am
6
Anybody can help me on this? please~!
nelfou
March 12, 2018, 9:26am
7
Also looking for this, after searching I found in another thread you have to use the value-name field.
So in this thread case that would be :
/ip/route/unset
=.id=*2
=value-name=routing-mark
10 years later, and another 3 before I read it, but it still solved my problem today. Thank you forum!