Hello.
I’m looking for the ability to reset (pppoe) session. Can I do it via SNMP ?
Theoretically it should be possible by IF-MIB::ifAdminStatus. I try it with v6 rc6, but it not works.
For example I tested this with connected user “user1”:
$ snmpwalk -c public 10.1.1.1 IF-MIB::ifDescr.10794
IF-MIB::ifDescr.10794 = STRING: <pppoe-user1>
$ snmpwalk -c public 10.1.1.1 IF-MIB::ifAdminStatus.10794
IF-MIB::ifAdminStatus.10794 = INTEGER: up(1)
Trying deactivate it:
$ snmpset -c private 10.1.1.1 IF-MIB::ifAdminStatus.10794 i 2
IF-MIB::ifAdminStatus.10794 = INTEGER: down(2)
Seems what all right but
$ snmpwalk -c public 10.1.1.1 IF-MIB::ifAdminStatus.10794
IF-MIB::ifAdminStatus.10794 = INTEGER: up(1)
$ snmpwalk -c public 10.1.1.1 IF-MIB::ifDescr.10794
IF-MIB::ifDescr.10794 = STRING: <pppoe-user1>
Interface is up, user1 is online… It would be nice if this will work.
But any other way (with snmp) would be interesting too.