SNMPSoft Tools
Command-line SNMP tools for network administrators, for Windows and Linux.
SNMPSoft Tools are command-line programs for SNMP, the standard protocol for monitoring and managing network devices such as routers, switches, firewalls, printers and UPSs.
They are made for scripts: the value goes to standard output, errors go to standard error, and the exit code is 0 only on success.
Windows x64, Linux x64 and ARM64 · Free for non-commercial use
snmp-get -r:10.0.0.1 -v:2c -o:.1.3.6.1.2.1.1.5.0.1.3.6.1.2.1.1.5.0 = STRING: "MainRouter"snmp-walk -r:10.0.0.1 -v:2c -os:.1.3.6.1.2.1.2.2.1.8 -mIF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: down(2)
MIBs:
IF-MIB (2)The tools
- snmp-getReads the value of one SNMP variable.
- snmp-setChanges the value of one SNMP variable, or of several together.
- snmp-walkLists the variables of a device, or of a part of its MIB tree.
- snmp-tablePrints one table, such as the interface table, as a grid or as CSV.
- snmp-rowAdds or deletes a row of a table, such as a VLAN.
- snmp-trap-genSends a trap or an inform to a management system.
Features
- SNMP v1, v2c and v3
- SNMPv3 authentication: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
- SNMPv3 privacy: DES, 3DES, AES-128, AES-192, AES-256
- IPv4 and IPv6, host names or addresses
- All SNMP value types
- The 1.x colon options (-r:host) and GNU options (--host host)
- Walk output as text or CSV, for whole devices, subtrees or OID ranges
- Fast walks with GETBULK on SNMP v2c and v3
- Tables as a grid or as CSV, with one column per index part
- Table rows created and deleted through their RowStatus column
- Several variables in one all-or-nothing SET (-vb, -vbf)
- Traps in SNMP v1, v2c and v3, and acknowledged informs
- OIDs by name and decoded values with the MIB catalog (-m), and names as input
- Object definitions (-d), and SET and trap values checked against the MIB
- Single executables with no installer, no runtime and no dependencies
The tools do not collect personal data and send nothing to EZ5 Systems. They contact only the hosts you name on the command line.
Upgrading from 1.x
Version 2.0 is a new implementation of SnmpGet, SnmpSet, SnmpWalk and SnmpTrapGen 1.x. The 1.x options still work, so most scripts only need the new program names. New in 2.0: SNMPv3 with SHA-2, GNU-style options, Linux builds, names and decoded values from the EZ5 MIB Catalog, and the tools snmp-table and snmp-row.
License
SNMPSoft Tools are free for non-commercial use: personal use, teaching and research, and registered charities and non-profit organizations. Any other use, such as use for a business or a government body, or running the production network of a school or university, needs a commercial license after a 30-day evaluation.
Integrate SNMP Tools into your solution
To include SNMPSoft Tools in a product you sell or supply, or to use the SNMP code as a library in your own software, contact us. We would be glad to tailor it to your specific needs.