Installing and Configuring ftlSNMP
Simple Network Management Using Net-SNMP and ftlSNMP
8-7
Run the following commands each time SNMP is restarted (or write a script to
manage this task):
# snmpusm -v3 -u admin -n "" -l authNoPriv -a MD5 -A
your_passwd
localhost create v3user admin
#
snmpusm -v3 -u v3user -n "" -l authNoPriv -a MD5 -A
your_passwd
localhost passwd
old_passwd new_passwd
These commands clone an initial (template) SNMPv3 user,
admin
, as v3user,
and
then change the password of
v3user
. The string
old_passwd
is the
password previously assigned to the user admin.
Another way to add SNMPv3 users is to run the following three commands:
# stop_snmp
# net-snmp-config --create-snmpv3-user
# start_snmp
This series of commands adds lines in the proper configuration files to add a user
to the system. Be sure to run
stop_snmp
before running the
net-snmp-config
command, which prompts you for a user name and password. The command adds
a
create user snmpv3-user MD5 password DES
line entry into
/etc/opt/ft/snmp/snmpd.conf
file. This line is automatically replaced with
a key on SNMP restart because it contains the correct password.
The
net-snmp-config
command also puts an
rwuser
entry into the
/etc/opt/ft/snmp/snmpd.conf
file. You will be prompted for a user name
and password when you enter the
net-snmp-config
command.
You will need to configure
snmpd.conf
with VACM entries for a new user.
1. To create a new user configuration, enter the following command:
#
net-snmp-config --create-snmpv3-user
2. When prompted, enter the user name and password you want to assign.