On Mon, Oct 14, 2002 at 01:11:49PM +0800, Ruslan A Dautkhanov wrote:
> Hi,
> 
> I have to reject an dial-in user, when some events occur.
> Can anybody know what SNMP OID should I use to administratively
> disconnect user (I think that Cisco may have a number of
> such OIDs - one for rejecting user by IP, one for SessionID,
> one another for rejecting user by name, CallingNumber, and so on..).
> Can you list exactly numbers (.1.3.6....), if it is possible?
> Thanks a lot.

In addition to Kostas' suggestion:
you can set interfaces.ifTable.ifEntry.ifAdminStatus.NN
(.1.3.6.1.2.1.2.2.1.7.NN) to 2 (down) and then to 1 (up).

You can determine interface index (NN) using following equations:
1.  by ip -
    ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.{Framed-IP-Address} = NN
    (.1.3.6.1.2.1.4.20.1.2.{Framed-IP-Address} = NN)
2.  by NAS-Port -
    interfaces.ifTable.ifEntry.ifDescr.NN = "Async{NAS-Port}"
    (.1.3.6.1.2.1.2.2.1.2.NN = "Async{NAS-Port}")

-- 
Fduch M. Pravking


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to