Go to main content
Oracle® VM Server for SPARC 3.4 Management Information Base User's Guide

Exit Print View

Updated: May 2016
 
 

How to Create the Initial snmpv3 User

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.

  1. Stop the Oracle Solaris SNMP agent.
    primary# svcadm disable svc:/application/management/net-snmp:default
  2. Create the initial user.

    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.


    Note - Passwords must contain at least eight characters.
    primary# /usr/bin/net-snmp-config --create-snmpv3-user -a my-password initial-user
  3. Start the Oracle Solaris SNMP agent.
    primary# svcadm enable svc:/application/management/net-snmp:default
  4. Verify that the initial user has been created.

     

    primary# snmpget -v 3 -u initial-user -l authNoPriv -a MD5 \
    -A my-password localhost sysUpTime.0