[tkined] snmp# set error

David Russell (drussell@tns-inc.com)
Mon, 19 Apr 1999 09:41:13 -0400

This is a multi-part message in MIME format.

------=_NextPart_000_00C9_01BE8A48.C34C79C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I am having problems with the var bind syntax for setting a MIB =
variable. The code fragment below results in the error: illegal object =
identifier "a_atr_test.cfg". It looks like it is treating the value as =
another OID. =20
=20
Any help is appreciated .
=20
David Russell
-----------------------------------------------
=20
package require Tnm 3.0.0
namespace import Tnm::*
set s [snmp generator -address 10.3.1.227 -read public -write private]
set vbl [list [ list 1.3.6.1.4.1.9.2.1.55.10.92.28.120 a_atr_test.cfg]]
$s set $vbl

------------------------------------------------

------=_NextPart_000_00C9_01BE8A48.C34C79C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">

Hi,
 
    I am having = problems with the=20 var bind syntax for setting a MIB variable.  The code fragment = below=20 results in the error:  illegal object identifier=20 "a_atr_test.cfg".  It looks like it is treating the value = as=20 another OID. 
 
Any help is appreciated .
 
David Russell
-----------------------------------------------
 
package require Tnm = 3.0.0
namespace import Tnm::*
set s [snmp generator -address = 10.3.1.227 -read=20 public -write private]
set vbl [list [ list=20 1.3.6.1.4.1.9.2.1.55.10.92.28.120 a_atr_test.cfg]]
$s set $vbl
------------------------------------------------
------=_NextPart_000_00C9_01BE8A48.C34C79C0-- -- !! 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 . !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.