Kill PPPoE session with SNMP

Hello,

Is it possible to kill an PPPoE session by writing a value to particular SNMP OID?

Thanks,
R.

Nope - as the SNMP on MikroTik is read-only…

Thanks, is there another option to accomplish this?

ssh to the box and issue the following command:
/interface pppoe-server remove [find user=]

This can be done also from script, this was already discussed on the forum.

we need at a certain point to change the profile of a customer. since we use freeradius, we can change on the database the filter and then, next time it authorise the customer, it will have the new profile.

but what if dint disconect and reconect

can we remove the interface of the pppoe of that customer from the interfaces list, I suppose through ssh. can it be done through php ? and how.

This is the main reason why I want snmp-sets. The ssh method works, but is rather clunky by comparison, and snmp fits in well with existing NMS.

in v2.9 you can disconnect PPP kind users from the RADIUS server.
To accomplish this, do as follows:

/radius incoming set accept=yes

Then using, for examples, radclient disconnect the user in the following way:

echo “User-Name := test” | radclient disconnect

For more information take a look at ‘man radclient’.

Edgars

thanks a lot Edgard. BUt we are still on the 2.8 since 2.9 is in beta and no support is given, we have seen and plaid with the 2.9 but scared on putting it on production.

so we need a solution for the 2.8