Re: Cisco NAS: how to reject user?

2002-10-16 Thread Kostas Kalevras

On Wed, 16 Oct 2002, Ruslan A Dautkhanov wrote:

> Hi !
>
> But I havn't found anywhere - How to kick PPPoE-users ?
> I have found http://www.vayner.net/Docs/Cisco/SNMP/MIBs/CISCO-PPPOE-MIB.my.txt ,
> but it have no any variables, that can help to kick users.

Don't know on that.

> CISCO-AAA-SESSION-MIB.my.txt have no such variables also.

Search the file for the casnDisconnect entry. It clearly states:

"This object is used to terminate this session. Setting the value to true(1)
will initiate termination of this session."

> Please point me to OID, which can allow me kick any user (Session-Timeout
> attribute is unuseful in this occurrence).  Thanks a lot.
>
>
> ---
>  best regards,
> Ruslan A Dautkhanov   [EMAIL PROTECTED]
>

--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]  National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf


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



Re: Cisco NAS: how to reject user?

2002-10-16 Thread Ruslan A Dautkhanov

Kostas Kalevras wrote:

> On Mon, 14 Oct 2002, 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.
> >   best regards,
> > Ruslan A Dautkhanov   [EMAIL PROTECTED]
>
> If you have a Cisco 5300/5800 you can use the AAA SESSION MIB. See:
> 
>http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t3/dt_asmib.htm
> and http://www.vayner.net/Docs/Cisco/MIBs/CISCO-AAA-SESSION-MIB.my.txt
>

Hi !

But I havn't found anywhere - How to kick PPPoE-users ?
I have found http://www.vayner.net/Docs/Cisco/SNMP/MIBs/CISCO-PPPOE-MIB.my.txt ,
but it have no any variables, that can help to kick users.
CISCO-AAA-SESSION-MIB.my.txt have no such variables also.
Please point me to OID, which can allow me kick any user (Session-Timeout
attribute is unuseful in this occurrence).  Thanks a lot.


---
 best regards,
Ruslan A Dautkhanov   [EMAIL PROTECTED]


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



Re: Cisco NAS: how to reject user?

2002-10-14 Thread Alexander M. Pravking

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



Re: Cisco NAS: how to reject user?

2002-10-13 Thread Kostas Kalevras

On Mon, 14 Oct 2002, 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.
>   best regards,
> Ruslan A Dautkhanov   [EMAIL PROTECTED]

If you have a Cisco 5300/5800 you can use the AAA SESSION MIB. See:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t3/dt_asmib.htm
and
http://www.vayner.net/Docs/Cisco/MIBs/CISCO-AAA-SESSION-MIB.my.txt


--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]  National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf


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



Cisco NAS: how to reject user?

2002-10-13 Thread Ruslan A Dautkhanov

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.


--
  best regards,
Ruslan A Dautkhanov   [EMAIL PROTECTED]


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