At 02:05 AM 5/14/2002 +0400, Fduch the Pravking wrote: >Does anybody know how to drop a user connection >to Cisco and/or PortMaster NAS via SNMP?
Cannot be done via SNMP. You'll have to script a telnet session to do it, or something along the lines of the following code snippet which invokes the 'pm_reset' utility ( available from www.portmasters.com ). # $TTY is the NAS-Port-Id # $PW is the administrative ( !root ) password # $IP is the NAS IP address /usr/local/bin/pm_reset $IP $PW $TTY For Cisco's you can do this via SNMP with later releases ( 12.2 and up ). More information is available from here: http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t3/dt_asmib.htm -Chris -- \\\|||/// \ StarNet Inc. \ Chris Parker \ ~ ~ / \ WX *is* Wireless! \ Director, Engineering | @ @ | \ http://www.starnetwx.net \ (847) 963-0116 oOo---(_)---oOo--\------------------------------------------------------ \ Wholesale Internet Services - http://www.megapop.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
