You can use SnmpGet.exe to test local SNMP communications default over port UDP 161
The tool is available from https://www.snmpsoft.com/cmd-tools/snmp-get/
D:\>SnmpGet.exe -r:"::1" -v:2c -c:ENTERCOMMUNITYHERE -o:1.3.6.1.2.1.1.3.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
OID=.1.3.6.1.2.1.1.3.0
Type=TimeTicks
Value=0:12:04.50
D:\>SnmpGet.exe -r:127.0.0.1 -v:2c -c:ENTERCOMMUNITYHERE -o:1.3.6.1.2.1.1.3.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
OID=.1.3.6.1.2.1.1.3.0
Type=TimeTicks
Value=0:12:43.04
Here's an example of a failure.
D:\>SnmpGet.exe -r:10.00.13 -v:2c -c:ENTERCOMMUNITYHERE -o:1.3.6.1.2.1.1.3.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
%Failed to get value of SNMP variable. Timeout.
The tool is available from https://www.snmpsoft.com/cmd-tools/snmp-get/
D:\>SnmpGet.exe -r:"::1" -v:2c -c:ENTERCOMMUNITYHERE -o:1.3.6.1.2.1.1.3.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
OID=.1.3.6.1.2.1.1.3.0
Type=TimeTicks
Value=0:12:04.50
D:\>SnmpGet.exe -r:127.0.0.1 -v:2c -c:ENTERCOMMUNITYHERE -o:1.3.6.1.2.1.1.3.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
OID=.1.3.6.1.2.1.1.3.0
Type=TimeTicks
Value=0:12:43.04
Here's an example of a failure.
D:\>SnmpGet.exe -r:10.00.13 -v:2c -c:ENTERCOMMUNITYHERE -o:1.3.6.1.2.1.1.3.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
%Failed to get value of SNMP variable. Timeout.
Comments
Post a Comment