SNMPSoft Tools 2.0 is a new implementation of SnmpGet, SnmpSet, SnmpWalk and SnmpTrapGen 1.x. The 1.x options, their meaning and their defaults are kept, so most scripts only need the new program names. Check the differences below.
The 1.x tools stay available on the SNMPSoft Tools 1.x page.
Program names
The programs are named snmp-get, snmp-set, snmp-walk and snmp-trap-gen (snmp-get.exe and so on, on Windows), instead of SnmpGet.exe, SnmpSet.exe, SnmpWalk.exe and SnmpTrapGen.exe.
To keep old scripts unchanged, you can copy or rename snmp-get.exe to SnmpGet.exe; the tool works under any name.
| 1.x | 2.0 |
|---|---|
SnmpGet.exe |
snmp-get |
SnmpSet.exe |
snmp-set |
SnmpWalk.exe |
snmp-walk |
SnmpTrapGen.exe |
snmp-trap-gen |
License
Version 2.0 has a new license. It is free for non-commercial use; other use, such as for a business or a government body, needs a commercial license after a 30-day evaluation. See Licensing.
Version 1.x stays under its own license.
Output
Each variable is printed on one line, as the OID, the type and the value:
.1.3.6.1.2.1.1.5.0 = STRING: "MainRouter"
The 1.x header lines are gone, so check scripts that parse the full output. -q still prints the value only. snmp-walk -csv writes the columns OID,Type,Value.
Timeticks are written as (12345678) 1d 10:17:36.78: the number of hundredths of a second in parentheses, then days and time. There is no comma, so the value needs no quoting in CSV.
Options and SNMPv3
- The IDEA privacy protocol is no longer supported.
-ce(context engine) is accepted only when it is the same as-ei.- Invalid options are reported before anything is sent, with exit code 2.
- SNMPv3 passwords must be at least 8 octets long, as SNMPv3 requires.
SnmpTrapGen
snmp-trap-gen sends SNMPv3 traps from the sending computer’s own engine ID, where SnmpTrapGen 1.x always sent SnmpTrapGen. For a receiver set up for 1.x, add:
-ei:536E6D705472617047656E
It prints OK on success, as 1.x did, without the header lines. The snmp-trap-gen page lists its other changes: Changes from SnmpTrapGen 1.x.
New in 2.0
- SNMPv3 authentication with SHA-224, SHA-256, SHA-384 and SHA-512.
- AES192-REEDER and AES256-REEDER (for Cisco devices).
- GNU options, such as
--host 10.0.0.1, alongside the 1.x colon options. - Linux builds.
-m: names and decoded values from the EZ5 MIB Catalog.-d: object definitions.-strict: values checked against the MIB.- The value types
ticks,cnt32,cnt64andbits, for TimeTicks, Counter32, Counter64 and BITS values. - Two new tools,
snmp-tableandsnmp-row.
The full list is in the version history.