[ Sorry for the delay in responding to this ]
> I'm executing below command:
> snmpvacm -v2c -c public 10.254.24.245
>           createView [-Ce] system 1.3.6.1.2.1.1  7

> I am entering 7 as mask . Is that O.K?

No - that's wrong.

The mask is a *bit* mask referring to each of the subidentifiers
in the OID - not a count of them.

So you'd want
                1111111(0)      (binary)
which is        0xfe            (hex)


So the command would be

  snmpvacm .... createView system 1.3.6.1.2.1.1 0xfe


Note that you only need '-Ce' if you want to *exclude* this subtree
from the view that you're defining.  If you want to *include* this
subtree (which is the more usual requirement), then just omit the
-Ce option.

Dave




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

Reply via email to