Like I said:
# snmpwalk -c community -Of nas.domain.tld ciscoAAASessionMIB
.iso.org.dod.internet.private.enterprises.cisco.ciscoMgmt.ciscoAAASessionMIB = No Such Object available on this agent at this OID
Not all Cisco equipment responds to the same OID's.
I seem to remember looking through the IOS matrix the last time we update our IOS and
an additional license is required to do Call Management. Since we didn't think we needed
it we didn't purchase it. My original solution still works.
As for IF-MIB, you are correct. Doing a diff on :
/usr/share/snmp/mibs/IF-MIB.txt and /usr/share/snmp/mibs/Cisco-v2-MIBs/IF-MIB.my
Indicates the only differences are blank lines, Since they were different sizes I thought
Cisco may have modified something more significant.
Alexander M. Pravking wrote:
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.
-- Guy Fraser Network Administrator
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

