On Wed, Oct 13, 2004 at 02:42:11PM -0600, Guy Fraser wrote:
> It depends on the type of NAS you are using.
>
> On some Cisco Access Servers you can use SNMP to administratively disable
> the line the user is on then administratively enable the line to allow new
> connections on it.
>
> Even between different classes of Cisco products, the SNMP OID codes may
> be different. And other vendors will likely have much different OID codes.
>
> A snippet from Cisco's IF-MIB.my file :
It's not Cisco's, it's common MIB :)
Cisco has its own means too: casnDisconnect from CISCO-AAA-SESSION-MIB.
It's more handy, because the index in that table corresponds RADIUS
NAS-Port attribute, and there's no need to enable the interface back.
But ifAdminStatus method should work for any NAS, the only problem is
to determine SNMP index of the interface. For Cisco, it's, yes, index
of an entry which has ifDescr = "Async%{NAS-Port}". For PortMaster,
I get it from
ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.%{Framed-IP-Address} variable.
--
Fduch M. Pravking
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html