Community discussions

MikroTik App
 
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 587
Joined: Tue Dec 01, 2009 3:24 am
Location: Mongolia
Contact:

very simple question

Thu Apr 23, 2015 7:48 am

Hi Guys,
I have a simple question but I really can`t find how to do. How to remove remote-address value on ppp secret using CLI?
For example, I created user
/ppp secret add name=test remote-address=10.2.2.2
Now I would like to remove remote-address. Tried to do following but doesn`t work.
/ppp secret set 0 remote-address=""
/ppp secret set 0 remote-address=none
/ppp secret set 0 remote-address=default
/ppp secret set 0 remote-address=no
/ppp secret set 0 remote-address=0.0.0.0
/ppp secret set 0 remote-address=" "
 
bkuhn
Frequent Visitor
Frequent Visitor
Posts: 72
Joined: Fri Oct 15, 2010 12:17 am

Re: very simple question

Thu Apr 23, 2015 10:18 am

ppp secret unset 0 remote-address
 
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 587
Joined: Tue Dec 01, 2009 3:24 am
Location: Mongolia
Contact:

Re: very simple question

Wed Apr 29, 2015 5:51 am

Hi bkuhn. Thank you so much. Never tried to use command "unset" :-)
 
wencs
just joined
Posts: 10
Joined: Wed Mar 26, 2014 7:14 pm

Re: very simple question

Mon Feb 01, 2016 8:00 am

ppp secret unset 0 remote-address
php code?

$unset_ra = array(".id" => $BRIDGEINFO[0]['.id'],"remote-address" => "");
$result=$API->comm('/ppp/secret/unset',$unset_ra);

sorry php code


for the " api " that gives me error
 
m1s3rys1gn4l
just joined
Posts: 15
Joined: Sun Mar 15, 2015 7:20 pm

Re: very simple question

Sat Feb 24, 2024 8:53 am

ppp secret unset 0 remote-address
can i do this for all pppoe user at once ?
 
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 587
Joined: Tue Dec 01, 2009 3:24 am
Location: Mongolia
Contact:

Re: very simple question

Mon Aug 12, 2024 7:26 pm

Quite late reply. But yes. unset [find] remote-address. [find] means all entries.