Re: Multi Set

Juergen Schoenwaelder (schoenw@gaertner.de)
Tue, 15 Jul 1997 21:48:55 +0200

desodea@shannon.tellabs.com (Des O'Dea) said:

Des> Due to the nature of the Network element MIB that I am
Des> communicating with, I need to have the ability to send
Des> multiple set commands in a 'one-shot' connection
Des> establishment. How can I do that with Tcl/Scotty?

I don't know what you are talking about. There is no such thing like a
connection in the SNMP world. I also do not know what you mean by a
"one-shot" operation.

You can create a Tnm SNMP session and do a set with multiple
varbind's, e.g.

set s [snmp session -alias somedevice]
$s set [list [list var1 val1] [list var2 val2] ...]

Read the snmp(n) man page for more details.
Juergen

-- 
Juergen Schoenwaelder     <schoenw@gaertner.de>     (Tel: +49-531-23873-0)
Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany
--
!! 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.