On 10 September 2012 09:39, Suresh kumar <skjaiswa...@hotmail.com> wrote: > We created the following view in snmpd.conf logic given below but its not > working > > > > view myVacm included .1.3.6.1.6.3.15.1.2.2 > view myVacm excluded > .1.3.6.1.6.3.15.1.2.2.1.0.17.128.0.31.136.128.176.43.0.0.5.141.73.80.0.0.0.0.0.100.101.102.97.117.108.1160x:ff:ef:ff:f7:ff
I hope that there is a space between "116" and "0x:ff" ? I also don't believe you need the colon after "0x" >> .1.3.6.1.6.3.15.1.2.2.1.0. >> 17.128.0.31.136.128.176.43.0.0.5.141.73.80.0.0.0.0. >> 0.100.101.102.97.117.108.116 The second line of this OID contains 18 values (the length subidentifier '17', plus 17 octets) The third line of this OID contains 8 values (the placeholder for the length, plus 7 octets "default") > Mask: > 1111 1111 1110 > 1111 1111 1111 1111 > 0111 1111 1111 The second line of the mask only contains 16 bits (not 18) The third line of the mask contains 12 bits (not 8) You've got the right idea, but you need to be more careful about matching the masking bits against the OID subidentifiers And if the mask doesn't end on an eight-bit boundary (which it won't), then you need to pad it out with 0 bits rather than 1 bits. Try again Dave ------------------------------------------------------------------------------ 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users