...
Code Block | ||
---|---|---|
| ||
asgard# show snmp user User name: nmis8 Engine ID: 800000090300001E13B18D00 storage-type: nonvolatile active Authentication Protocol: MD5 Privacy Protocol: DES Group-name: NMIS8 |
Configuring Linux SNMP Daemon (Net-SNMP SNMPD) for SNMPv3
The first step is to enable SNMPv3 on in the /etc/snmp/snmpd.conf file, then restart the daemon.
Required Linux SNMPD Configuration for SNMPv3 communication to NMIS8
Add the following configuration to the top, edit the /etc/snmp/snmpd.conf file as the root user, e.g.
Code Block |
---|
sudo vi /etc/snmp/snmpd.conf |
Add the following configuration replacing the username and passwords is you require.
Code Block | ||
---|---|---|
| ||
createUser nmis8 MD5 nmis4242 DES nmis4242
rouser nmis8 priv 1.3.6.1 |
The commands above will create a user called nmis8, with an authorisation password of nmis4242 and a privilege password of nmis4242
The view of 1.3.6.1, will permit access to the Standard MIB and the Enterprise MIB, essentially providing full access.
Restart the SNMP Daemon
Code Block | ||
---|---|---|
| ||
sudo service snmpd restart |
Testing your SNMPv3 Configuration with NET-SNMP
To verify that SNMPv3 is working as configured run the following command. Change the username and passwords if you have used different ones.
...