Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- goto:start
- SNMP Discovery tool
- Written by Stuart Weenig (http://stuart.weenig.com)
- Used to test a device for SNMP access
- First parameter is the hostname/ip of the device you want to try to query
- Second parameter is the community string to use
- Third-Ninth (optional) parameters are additional parameters to pass to SNMPGet
- :start
- echo Host:%1 Community:%2
- snmpget.exe -r:%1 -c:%2 -v:2c -o:1.3.6.1.2.1.1.2.0 -q %3 %4 %5 %6 %7 %8 %9
- echo.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement