DOC-USR-0214-04
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
37
Removing Users
First, ensure SNMP is running, navigate to the web UI System Setup tab and click on Set SNMP “GO” button,
then set Enable SNMP to “TRUE” and click the “Change” button. If our goal is to edit a user, for now, we
have to remove the user and then recreate the user with the change in place. Removing users is done in a
similar way to creating the user, with a serial/ssh connection, only this time we use the binary
snmpusm
,
which is accessible to su users. Also, to remove a user we need a “master” user.
Example:
~ # snmpusm -v 3 -u [master username] -a [auth protocol: MD5 | SHA] -A [auth password] -l [auth type:
authNoPriv | authPriv] -x [encrypt protocol: DES | AES] -X [encrypt password] X.X.X.X delete [username of
the user to delete]
After the above commands have been run on a user the user will no longer be available, but can still be
seen in /etc/net-snmp/snmpd.conf. For this user entry to be removed we need to restart SNMP; navigate
to the web UI System Setup tab and click on Set SNMP “GO” button, then set Enable SNMP to “FALSE” and
click the “Change” button. Then Click on Set SNMP “GO” button once more, then set Enable SNMP to
“TRUE” and click the “Change” button.
By default the S/W release for this document (SW-BH3-00967-01) already comes with a user pre-
configured:
Type:
read-write, authPriv
User Name:
z3user
Authentication Password:
z3password
Authentication Protocol:
SHA
Encryption Password:
z3password
Encryption Protocol:
DES
The z3user’s information is displayed in clear text inside /etc/net-snmp/snmpd.conf so we recommend
removing or the user, or changing the users password. This user will be used in the following SNMP v3
read/write examples.
SNMP v3 Read
The 3 SNMP read options from SNMP v2c are still available. With x.x.x.x being the ip address of the DME-10
the following commands can be performed:
~ $ snmpget -v 3 -a SHA -A z3password -u z3user -l authPriv -x DES -X z3password
x.x.x.x Z3-MIB:z3StatusEncoders.0