I believe this will work for snmpv2, just change group info and community to what you would like.
snmp-server group "v1v2grp" "" no-auth-no-priv read-view "v1v2only" write-view "v1v2only" notify-view "v1v2only"
snmp-server community "cacti1" group "v1v2grp" secname "readwrite"
snmp-server view "v1v2only" 1.3.6.1
snmp-server host <ip address> v2c readwrite