Tool 164: SNMP Set


  This tool sets the value of a MIB oid.
  Parameter --oid defines the oid name.
  Parameter --type defines its type: i,s,m,n,o,a,c,g,t,M,u,U
  Parameter --value defines its value.
  Parameter --version defines SNMP version to use (from 1 to 3).
  Versions 1 and 2 need --community parameter to set community name.
  Version 3 requires --username and --password. Parameter --authmd5
  indicates if md5 authentication is used. Parameters
  --authoritativeengineid, --authoritativeengineboots,
  --authoritativeenginetime, --contextengineid and --contextname are
  optional version 3 parameters.
  Parameter --display shows packets.
  Parameter --dst-ip is the address of remote host/server.
  Parameter --dst-port is the port number where to connect.
  Optional parameter --src-ip defines the local IP address to use.
  Optional parameter --src-port defines the local port number to use.
  Optional parameter --ip4opts permits to add IPv4 options encoded as
  Optional parameter --ip6exts permits to add IPv6 options encoded as
  mixed (first byte is the next header number).
  Optional parameters --device, --src-eth and --dst-eth permits to
  create a virtual client using fake addresses.




  netwox 164 -i ip [-c password] -n oid -t oidtype -V data [-d device] [-E eth] [-e eth] [-I ip] [-P port] [-p port] [-o ip4opts] [-O ip6exts] [-v uint32] [-m|+m] [-u data] [-w password] [-A mixed_data] [-B uint32] [-M uint32] [-C mixed_data] [-N data] [-T uint32] [-y|+y]


parameter description example
-i|--dst-ip ip destination IP address
-c|--community password SNMPv1/v2 community public
-n|--name oid oid name .
-t|--type oidtype oid type (i,s,m,n,o,a,c,g,t,M,u,U) s
-V|--value data oid value  
-d|--device device device name Eth0
-E|--src-eth eth source ethernet address 0:2:3:4:5:6
-e|--dst-eth eth destination ethernet address 0:8:9:a:b:c
-I|--src-ip ip source IP address
-P|--src-port port source port number 0
-p|--dst-port port destination port number 161
-o|--ip4opts ip4opts IPv4 options  
-O|--ip6exts ip6exts IPv6 extensions  
-v|--version uint32 SNMP version (1, 2 or 3) 1
-m|--md5auth|+m|--no-md5auth SNMPv3 auth using MD5 This boolean is set.
Use + or --no- to unset it.
-u|--username data SNMPv3 username  
-w|--password password SNMPv3 password  
-A|--authoritativeengineid mixed_data SNMPv3 authoritativeengineid  
-B|--authoritativeengineboots uint32 SNMPv3 authoritativeengineboots 0
-M|--authoritativeenginetime uint32 SNMPv3 authoritativeenginetime 0
-C|--contextengineid mixed_data SNMPv3 contextengineid  
-N|--contextname data SNMPv3 contextname  
-T|--timeout uint32 timeout in ms 3000
-y|--display|+y|--no-display display packets  


  netwox 164 -i "" -n "." -t "s" -V ""

  netwox 164 --dst-ip "" --name "." --type "s" --value ""