problem relating snmpd.conf in View base access control model

bhushan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hello friends ,
   i need to show only specific mib2 info when i will do snmpwalk .
   so i configure my vacm in snmpd.conf as follows
   i want to show mib2 for following OID only
  1.3.6.1.2.1.1 to    1.3.6.1.2.1.11
   so what MASK i need to set in
  view      all   included   .1.3.6.1.2.1    [MASK]
  so that i can see only specified OID only ..
  this is my snmpd.conf (some part only)


#      sec.name         source               community
com2sec local           localhost            public
com2sec mynetwork       192.168.0.0/16       public


####
# Second, map the security names into group names:


#                    sec.model  sec.name
group MyRWGroup        v1        local
group MyRWGroup        v2c       local
group MyRWGroup        usm       local
group MyROGroup        v1        mynetwork
group MyROGroup        v2c       mynetwork
group MyROGroup        usm       mynetwork


####
# Third, create a view for us to let the groups have rights to:


#          incl/excl subtree                          mask
view      all   included   .1.3.6.1.2.1.1


####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:


#                context sec.model sec.level match read   write notif
access MyROGroup ""      any       noauth    exact all    all   all
access MyRWGroup ""      any       noauth    exact all    all   all


 Plz reply me as soon as possible

-- 
            bhushan. E . Sonawane

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.