chang pppoe profile

Hi guys;

how goes it ?

Well..
I need someone tell me how can i do script to change pppoe profile to another on .I have 2 pppoe profiles
first :NH1
second :NH2

please any one know how to do this issue?

I appreciate you kindly support

thanks!!

Ghazwan.

You need to set command like,
/ppp secret set profile=<name_of_profile>

Note, that profile is not applied immediately, PPPoE user should be disconnected firstly.

My lord …


tell me how can i thank you , you’re my survivor ,but I have another Q :can i remove the active secret with automatically by scripting it ???

thanks again >> :slight_smile:

Unfortunately from /ppp active table you can remove only by numbers. Numbers could not be used in scripts.

Oh…
thats too bad … :frowning:

By the way , I used to script this one : /system reboot
its the only solo script :frowning:

thanks sergejs for your opportunity .. :wink:

really?..

/ppp active remove [find name="login_here"]

works for me - v3.28 :slight_smile:

Yes … Chupaka …
its work

many thanks :slight_smile: