>>>>> Hemang Lavana writes:
Hemang> The following works with scotty 2.1.10:
Hemang> snmp session -address $orig_gw -version SNMPv2C -community
Hemang> public
Hemang> However, when I upgraded to scotty 3.0.0 (which is compiled
Hemang> with tcl8.3), the session subcommand is no longer available --
Hemang> so what subcommand should be used instead?
There are now different session types. Here is what you do:
package require Tnm
set s [Tnm::snmp generator -address $orig_gw -version SNMPv2c -community public]
$s getnext mib-2
$s destroy
See the snmp(n) man page and the example scripts for the details.
/js
-- !! 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 : Thu Jan 03 2002 - 14:56:27 MET