Bluehost.com Web Hosting $6.95

problem with snmpset. need help

This is a discussion on problem with snmpset. need help within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C63DAD.7E49D2D0 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C63DAD....


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2006
 
Posts: n/a
Default problem with snmpset. need help

This is a multi-part message in MIME format.

------_=_NextPart_001_01C63DAD.7E49D2D0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_002_01C63DAD.7E49D2D0"


------_=_NextPart_002_01C63DAD.7E49D2D0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I have a problem with snmpset. I am trying to set a octet-string
variable in the MIB.Follwing is the type.
=20
InetAddress ::=3D OCTET STRING (SIZE (0..255))
=20
When I try to set this variable with value 10.10.10.10 or the
equivalent in hex 0A0A0A0A it sets the variable with a blank value. The
same thing happens for 10.10.10.9 ,10.10.10.10,
10.101.10.11,10.10.10.12,10.10.10.13, 9.9.9.9 to 9.9.9.13, 11.11.11.9 to
11.11.11.13, 12.12.12.9 to 12.12.12.13 and 13.13.13.9 to 13.13.13.13.=20
=20
10.10.10.14 works fine. Please see the traces below.=20
=20
Setting as decimal string(10.10.10.10)
=20
/usr/local/bin/snmpset -v 1 -c public -t 60 -r 3 -Ont --
53.53.53.10:161 .1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 . .1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 d 10.10.10.10
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D STRING: "
=20
=20
=20
"
Setting as HEX (10.10.10.10)
=20
/usr/local/bin/snmpset -v 1 -c public -t 60 -r 3 -Ont -- 53.53.53.10:161
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 x 0A0A0A0A
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D STRING: "
=20
=20
=20
"

Setting as decimal string (10.10.10.14)
=20
/usr/local/bin/snmpset -v 1 -c public -t 60 -r 3 -Ont -- 53.53.53.10:161
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 d 10.10.10.14
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D Hex-STRING: 0A 0A 0A 0E
=20
Setting as HEX (10.10.10.14)
=20
/usr/local/bin/snmpset -v 1 -c public -t 60 -r 3 -Ont -- 53.53.53.10:161
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 i 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 x 0A0A0A0E
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER: 1
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D Hex-STRING: 0A 0A 0A 0E
=20
Thanks in advance
=20
Regards
Sushma
=20


------_=_NextPart_002_01C63DAD.7E49D2D0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD><TITLE =

id=3DridTitle>Blank</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; =
FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; =
FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; =
FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>

<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY id=3DridBody background=3Dcid:234004003@02032006-1554>
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D234004003-02032006>Hi,</SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D234004003-02032006>&nbsp;I =
have a problem=20
with snmpset. I am trying to set a octet-string variable in the =
MIB.Follwing is=20
the type.</SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN=20
class=3D234004003-02032006>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D234004003-02032006>&nbsp;InetAddress ::=3D=20
OCTET STRING (SIZE (0..255))</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>&nbsp;&nbsp;When&nbsp; I try to =
set this=20
variable with value 10.10.10.10 or the equivalent in hex 0A0A0A0A it =
sets the=20
variable with a blank value. The same thing happens for 10.10.10.9 =
,10.10.10.10,=20
10.101.10.11,10.10.10.12,10.10.10.13, 9.9.9.9 to 9.9.9.13, 11.11.11.9 to =

11.11.11.13, 12.12.12.9 to 12.12.12.13 and 13.13.13.9 to 13.13.13.13.=20
</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>10.10.10.14 works fine. Please see =
the=20
traces below. </SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006><STRONG>Setting as decimal=20
string(10.10.10.10)</STRONG></SPAN></DIV>
<DIV><SPAN =
class=3D234004003-02032006><STRONG></STRONG></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>&nbsp;/usr/local/bin/snmpset -v 1 =
-c public=20
-t 60 -r 3 -Ont -- 53.53.53.10:161 =
..1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i 1=20
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904&nbsp;. .1=20
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 d=20
<STRONG>10.10.10.10<BR></STRONG>.1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904=
=3D=20
INTEGER: 1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER:=20
1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D STRING: =
"</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>"</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006><STRONG>&nbsp;Setting as HEX=20
(10.10.10.10)</STRONG></SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>/usr/local/bin/snmpset -v 1 -c =
public -t 60=20
-r 3 -Ont -- 53.53.53.10:161 .1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i =
1=20
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 i 1=20
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 x=20
<STRONG>0A0A0A0A</STRONG><BR>.1.3.6.1.4.1.637.61.1.59.1.1.1.14124439 04 =
=3D=20
INTEGER: 1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER:=20
1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D STRING: =
"</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>"</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006><BR><SPAN=20
class=3D234004003-02032006><STRONG>Setting as decimal string=20
(10.10.10.14)</STRONG></SPAN></SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006><SPAN=20
class=3D234004003-02032006><STRONG></STRONG></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>/usr/local/bin/snmpset -v 1 -c =
public -t 60=20
-r 3 -Ont -- 53.53.53.10:161 .1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i =
1=20
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 i 1=20
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 d=20
<STRONG>10.10.10.14<BR></STRONG>.1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904=
=3D=20
INTEGER: 1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER:=20
1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D Hex-STRING: 0A 0A 0A=20
0E</SPAN></DIV>
<DIV><SPAN =
class=3D234004003-02032006><STRONG></STRONG></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006><STRONG>Setting as HEX=20
(10.10.10.14)</STRONG></SPAN></DIV>
<DIV><SPAN =
class=3D234004003-02032006><STRONG></STRONG></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>/usr/local/bin/snmpset -v 1 -c =
public -t 60=20
-r 3 -Ont -- 53.53.53.10:161 .1.3.6.1.4.1.637.61.1.59.1.1.1.1412443904 i =
1=20
..1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 i 1=20
..1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 x=20
0A0A0A0E<BR>.1.3.6.1.4.1.637.61.1.59.1.1.1.1412443 904 =3D INTEGER:=20
1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.2.1412443904 =3D INTEGER:=20
1<BR>.1.3.6.1.4.1.637.61.1.59.1.1.3.1412443904 =3D Hex-STRING: 0A 0A 0A=20
0E</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>Thanks in advance</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D234004003-02032006>Regards</SPAN></DIV>
<DIV><SPAN class=3D234004003-02032006>Sushma</DIV>
<DIV><SPAN class=3D234004003-02032006></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><BR></DIV></SPAN><SPAN=20
class=3D234004003-02032006></SPAN></BODY></HTML>

------_=_NextPart_002_01C63DAD.7E49D2D0--

------_=_NextPart_001_01C63DAD.7E49D2D0
Content-Type: image/gif;
name="Blank Bkgrd.gif"
Content-Transfer-Encoding: base64
Content-ID: <234004003@02032006-1554>
Content-Description: Blank Bkgrd.gif
Content-Location: Blank%20Bkgrd.gif

R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02898pGkgiYoCm 6sq2
7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYr PXGlfr/Yo/VW45e7amp2tou/lW
xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw==

------_=_NextPart_001_01C63DAD.7E49D2D0--


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0