note 28186 deleted from function.snmpset by jsheets

From: Date: Sun, 05 Jan 2003 17:02:16 +0000
Subject: note 28186 deleted from function.snmpset by jsheets
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41688@lists.php.net to get a copy of this message
Hi there, maybe you should use: snmpset( $IP, $Writecomm, $OID, "i", 2 ); This works for me to deactivate a port, where snmpget returns "up(1)" for an activated, and "down(2)" for a deactivated Port. I've also recognized switches that use 0 and 1 instead of 1 and 2, but also return up(1) and down(2), so maybe you should try to set it to 0...

« previous php.notes (#41688) next »