SnmpTrapGen (Command-line Tool)

Overview

SnmpTapGen.exe

Version: 1.02
Size: 147KB (zip)

Download

SNMP is a standard protocol for network devices monitoring and management. Almost all active network devices support SNMP. Besides that, SNMP is supported by many network applications and the majority of operational systems.

SnmpTrapGen is a command-line tool that simplifies its use in scripts and allows you to automate a large number of everyday system administrator actions. This tool supports IPv4 and modern IPv6, allowing you to avoid difficulties when you upgrade network structures. Besides that, SnmpSet, along with supporting a version of the SNMPv1/SNMPv2c protocol which is not safe, supports safe version of SNMPv3. This allows you to avoid violations of corporate safety policies in case you use it.

Features

  • Supports SNMP v1/v2c and SNMPv3
  • Supports IPv4 and IPv6
  • Command line interface (CLI)
  • Any type of SNMP variables
  • Various Auth. & Privacy protocols
  • Windows XP-10 compatible
  • Windows Server 2003-2019 compatible

Parameters

SnmpTrapGen.exe [-q] -r:host [-p:port] [-t:timeout] [-v:version]
            [-c:community] [-ei:engine_id] [-sn:sec_name] [-ap:auth_proto]
            [-aw:auth_passwd] [-pp:priv_proto] [-pw:priv_passwd] [-ce:cont_engine]
            [-cn:cont_name] [-vid:var_oid] [-vtp:var_type] [-val:var_value]
            [-del:char] -eo:ent_oid -to:trap_oid

   -q                Quiet mode (suppress header; print variable value only)
   -r:host           Name or network address (IPv4/IPv6) of remote host.
   -p:port           SNMP port number on remote host. Default: 162
   -t:timeout        SNMP timeout in seconds (1-600). Default: 5
   -v:version        SNMP version. Supported version: 1, 2c or 3. Default: 1
   -c:community      SNMP community string for SNMP v1/v2c. Default: public
   -ei:engine_id     Engine ID. Format: hexadecimal string. (SNMPv3).
   -sn:sec_name      SNMP security name for SNMPv3.
   -ap:auth_proto    Authentication protocol. Supported: MD5, SHA (SNMPv3).
   -aw:auth_passwd   Authentication password (SNMPv3).
   -pp:priv_proto    Privacy protocol. Supported: DES, IDEA, AES128, AES192,
                     AES256, 3DES (SNMPv3).
   -pw:priv_passwd   Privacy password (SNMPv3).
   -cn:cont_name     Context name. (SNMPv3)
   -ce:cont_engine   Context engine. Format: hexadecimal string. (SNMPv3)
   -to:trap_oid      Object ID (OID) of SNMP trap.
   -eo:ent_oid       Enterprise Object ID (OID).
   -vid:var_oid      Object IDs (OID) of one or multiple trap variables.
   -val:var_value    Value of one or multiple trap variables.
   -vtp:var_type     Type of trap variables. Supported: int,uint,str,hex,oid,ip
                     Default: str
   -del:char         Multiple variables delimiter for vid/vtp/val.

Examples

SnmpTrapGen.exe -r:10.0.0.1 -t:10 -c:"private" -to:.1.3.6.1.2.1.1.4.0
SnmpTrapGen.exe -r:SnmpCollector -q -v:2c -p:10162 -to:.1.3.6.1.2.1.1.1.0

License

SnmpTrapGen is free for non-commercial use. More detailed license agreement can be found in ReadMe.txt delivered with the product.

Do you want to integrate SNMP Tools into your solution?

If you want to use the SNMP Toolkit for commercial purposes, please don not hesitate to contact us at sales@ezfive.com.
We would be glad to tailor it to your specific needs. Alternatively, we can provide SNMP Tools as a library for effortless integration.

Are you interested in Visual SNMP Tools?