Hi Joel,
thanks for your reply.
The output I have presented previously was done by PHP script and now it makes
more and more senese for me.
One more thing I would like to understand about SNMP BULK.
I was told that BULK makes less network traffic. And yes - I can see that when
I execute snmpbulkWALK.
However what is the point of using snmpBULKGET instead of regular snmpGET ?
It seems to make exactly this same volume of traffic.
Here is a simple example just for one query:
snmpbulkget:
15:57:26.543961 IP monitor01.a254.mgmt.net.41561 > node-0.freestation.net.snmp:
C=public GetBulk(30) N=0 M=10 interfaces.ifTable.ifEntry.ifAdminStatus.1
^C
1 packets captured
1 packets received by filter
0 packets dropped by kernel
snmpget:
15:57:14.983627 IP monitor01.a254.mgmt.net.54509 > node-0.freestation.net.snmp:
C=public GetRequest(30) interfaces.ifTable.ifEntry.ifAdminStatus.1
^C
1 packets captured
1 packets received by filter
0 packets dropped by kernel
Means: volume of 100 snmpget queries is equal 100 of snmpbulkget queries. Is
that correct ?
Thanks,
czezz
Dnia 23 maja 2012 17:18 Joel Hansell <[email protected]> napisał(a):
> Hi czezz,
>
> I can see what you see ... tcpdump is claiming to receive 2 GetBulk
> requests, and a whole bunch of GetRequests.
> I'm not sure what kind of answer you expect ... Is this not the output
> you expected from tcpdump? In that case, perhaps you could describe in
> more detail what was happening, and why you should not see this
> particular output?
>
> BR,
> Joel Hansell
>
> On Wed, May 23, 2012 at 4:13 PM, czezz <[email protected]> wrote:
> > Hello,
> > I need an advice about that short SNMP "tcpdump" that I attach below.
> > That dump presents series of SNMPBULKGET queries.
> >
> > However what I can see is: 2 SNMP BULK GET and rest seems to be a standard
> > SNMP GET.
> > Can anyone verify this for me, please ?
> >
> > ---BEGIN---
> > # tcpdump -i eth0 dst host 192.168.10.146
> > 10:33:06.028987 IP monitor01.a254.mgmt.net.59292 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(28) system.sysName.0
> > 10:33:06.031908 IP monitor01.a254.mgmt.net.56225 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetBulk(29) N=0 M=20
> > interfaces.ifTable.ifEntry.ifDescr
> > 10:33:06.036959 IP monitor01.a254.mgmt.net.56225 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetBulk(30) N=0 M=20
> > interfaces.ifTable.ifEntry.ifDescr.4
> > 10:33:06.042092 IP monitor01.a254.mgmt.net.51576 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.6.1
> > 10:33:06.044737 IP monitor01.a254.mgmt.net.35801 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.10.1
> > 10:33:06.047311 IP monitor01.a254.mgmt.net.47288 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(30)
> > interfaces.ifTable.ifEntry.ifInErrors.1
> > 10:33:06.049885 IP monitor01.a254.mgmt.net.35038 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(30)
> > interfaces.ifTable.ifEntry.ifOutErrors.1
> > 10:33:06.052422 IP monitor01.a254.mgmt.net.53358 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.7.1
> > 10:33:06.055020 IP monitor01.a254.mgmt.net.51026 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.11.1
> > 10:33:06.057600 IP monitor01.a254.mgmt.net.53960 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.8.1
> > 10:33:06.060127 IP monitor01.a254.mgmt.net.41782 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.12.1
> > 10:33:06.062724 IP monitor01.a254.mgmt.net.43091 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.9.1
> > 10:33:06.065330 IP monitor01.a254.mgmt.net.39926 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.13.1
> > 10:33:06.067881 IP monitor01.a254.mgmt.net.47567 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.6.2
> > 10:33:06.070495 IP monitor01.a254.mgmt.net.48867 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.10.2
> > 10:33:06.073115 IP monitor01.a254.mgmt.net.44131 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(30)
> > interfaces.ifTable.ifEntry.ifInErrors.2
> > 10:33:06.076617 IP monitor01.a254.mgmt.net.55235 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(30)
> > interfaces.ifTable.ifEntry.ifOutErrors.2
> > 10:33:06.079176 IP monitor01.a254.mgmt.net.59712 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.7.2
> > 10:33:06.081785 IP monitor01.a254.mgmt.net.41576 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.11.2
> > 10:33:06.084368 IP monitor01.a254.mgmt.net.38409 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.8.2
> > 10:33:06.086982 IP monitor01.a254.mgmt.net.35333 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.12.2
> > 10:33:06.089782 IP monitor01.a254.mgmt.net.43765 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.9.2
> > 10:33:06.092333 IP monitor01.a254.mgmt.net.40070 >
> > node-0.freestation.net.snmp: C=s1gcUst0 GetRequest(31) 31.1.1.1.13.2
> > ---END---
> >
> > Best Regards,
> > czezz
> >
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Net-snmp-users mailing list
> > [email protected]
> > Please see the following page to unsubscribe or change other options:
> > https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> >
>
snmpbulkget:
15:57:26.543961 IP monitor01.a254.mgmt.net.41561 > node-0.freestation.net.snmp:
C=public GetBulk(30) N=0 M=10 interfaces.ifTable.ifEntry.ifAdminStatus.1
^C
1 packets captured
1 packets received by filter
0 packets dropped by kernel
snmpget:
15:57:14.983627 IP monitor01.a254.mgmt.net.54509 > node-0.freestation.net.snmp:
C=public GetRequest(30) interfaces.ifTable.ifEntry.ifAdminStatus.1
^C
1 packets captured
1 packets received by filter
0 packets dropped by kernel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users