SNMP v3 security is enabled and configured globally for all agents configured in the Nextian SNMP Simulator. Multiple security profiles can be defined (e.g., with various usernames and passwords and/or encryption), however they will apply to all the agents as well.
To enable SNMP v3:
- Edit simulator.conf file as Administrator (Windows) or root (Linux):
Windows %SYSTEMROOT%\etc\nextian.d\simulator.conf
Linux /etc/nextian.d/simulator.conf
- Create or uncomment at least one security entry (each entry defines a single profile), at the bottom of the file:
SECURITY_ENTRY1=public:SHA:password:DES:password
Please read comments in simulator.conf for detailed information about entry syntax.
- Restart the simulator:
Windows Restart the windows service
Linux sudo systemctl restart nextian-snmpsimulator
- SNMP-walk the agent:
snmpwalk -v3 -a SHA -A "password" -x DES -X "password" -u public -l authPriv localhost:163