On Tue, 28 Mar 2000, Aaron Nabil wrote:
I'm banging my head against the wall on this SNMP disconnect problem. I want to be able to do a disconnect via a single "set" that is indexed via session-id or username and session-id.
Why are you so attached to the session ID? Why not use the port number to directly hang up the modem?
There are two good candidates. The best one is usrUserMan.usrUserManGroup.usrUserManActiveSessionTable.uumActiveSessionEntry.uumActiveSessionAction which works when you hand it the session ID it's looking for. Unfortunatly, the session-ID it's looking for is "off" by some, small, random, unpredicatable number compared to the Radius Session-ID, and you can only learn this bad sesion-ID by doing a "get" to discover it's corrupted value, which would be as slow as what I'm doing now.
How is this off?? Can you give an example?
The other candidate is usrUserMan.usrUserManGroup.usrUserManVTSTermTable.usrUserManVTSTermEntry.usrUserManVTSTermAction which has the advantage that it's Session-ID always matches what's in the Radius accounting records, but the problem is I've never been able to make it work. In fact I use this table now to verify the user is still online before I go whack the modem.
This one should work. But it looks like (from the MIB) that you need to specify more than just the sessionId. It says : -- The usrUserManVTSTermTable is used to terminate a session using -- the unique index key made up of AusrUserManVTSTermUserName, -- usrUserManVTSTermSessionId, usrUserManVTSTermDynamicIpAddress, -- and usrUserManVTSTermSessionKey. So the trick will be to figure out how to generate that key.. I think HARM can do this. You may want to snoop a HARM packet and see what it does.
So my choices are one that works, but can't be used beacause it's of random noise in the session-id, or one that has perfectly matching session-ids but I can't figgure out how to make it work.
If I buy a support contract, is this something that 3COM would answer or
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.