This procedure describes how to create the initial snmpv3 user.
You can create additional users by cloning this initial user. Cloning enables subsequent users to inherit the initial user's authentication and security types. You can change these types later.
When you clone the initial user, you set secret key data for the new user. You must know the passwords for the initial user and for the subsequent users that you configure. You can only clone one user at a time from the initial user. See “To Create Additional SNMPv3 Users with Security” in Solaris System Management Agent Administration Guide for your version of the Oracle Solaris OS.
primary# svcadm disable svc:/application/management/net-snmp:default
This step creates user initial-user with a password that you choose, my-password, and adds an entry to the /etc/sma/snmp/snmpd.conf file. This entry gives the initial user read and write access to the agent.
primary# /usr/bin/net-snmp-config --create-snmpv3-user -a my-password initial-user
primary# svcadm enable svc:/application/management/net-snmp:default
primary# snmpget -v 3 -u initial-user -l authNoPriv -a MD5 \ -A my-password localhost sysUpTime.0