# define a simple view 'systemview', which includes everthing under .1.3.6.1 view systemview included .1.3.6.1 # map 'public' community to the 'notConfigUser' com2sec notConfigUser default public # map 'notConfigUser' to 'notConfigGroup' group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser # give 'notConfigGroup' read access to objects in the view 'systemview' access notConfigGroup "" any noauth exact systemview none none com2sec -Cn remotehost1_ctx notConfigUser default remotehost1_cmty com2sec -Cn remotehost2_ctx notConfigUser default remotehost2_cmty access notConfigGroup remotehost any noauth prefix systemview none none proxy -Cn remotehost1_ctx -v 2c -c public remotehost1 .1.3 proxy -Cn remotehost2_ctx -v 2c -c public remotehost2 .1.3