Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. # Map 'idv90we3rnov90wer' community to the 'ConfigUser'
  2. # Map '209ijvfwer0df92jd' community to the 'AllUser'
  3. # sec.name source community
  4. com2sec ConfigUser default xWMtqwJtbe85W7WnJ
  5. com2sec AllUser default 6FW9ckDFtabdV6cgS
  6. # Map 'ConfigUser' to 'ConfigGroup' for SNMP Version 2c
  7. # Map 'AllUser' to 'AllGroup' for SNMP Version 2c
  8. # sec.model sec.name
  9. group ConfigGroup v2c ConfigUser
  10. group AllGroup v2c AllUser
  11. # Define 'SystemView', which includes everything under .1.3.6.1.2.1.1 (or .1.3.6.1.2.1.25.1)
  12. # Define 'AllView', which includes everything under .1
  13. # incl/excl subtree
  14. view SystemView included .1.3.6.1.2.1.1
  15. view SystemView included .1.3.6.1.2.1.25.1.1
  16. view AllView included .1
  17. # Give 'ConfigGroup' read access to objects in the view 'SystemView'
  18. # Give 'AllGroup' read access to objects in the view 'AllView'
  19. # context model level prefix read write notify
  20. access ConfigGroup "" any noauth exact SystemView none none
  21. access AllGroup "" any noauth exact AllView none none
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement