>>>>> Jurkin Drazen writes:
Jurkin> I'm looking for SNMP command for setting MIB OID values.
Jurkin> I think that is something like this:
Jurkin> set syst1 [snmp session -address $IPAddress] $syst1 set
Jurkin> $mibOid $newValue
Jurkin> Can you help me with this, please ???
I suggest to read the snmp(n) manual page, which contains the
following example:
$s set [list \
[list sysContact.0 "Bert Nase"] \
[list sysLocation.0 "Hall6, Floor 5"] \
]
The first argument to the set command option is a Tcl representation
of an SNMP varbind list.
/js
-- Juergen Schoenwaelder Technical University Braunschweig <schoenw@ibr.cs.tu-bs.de> Dept. Operating Systems & Computer Networks Phone: +49 531 391 3289 Bueltenweg 74/75, 38106 Braunschweig, Germany Fax: +49 531 391 5936 <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.
This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:55 MET