cancel
Showing results for 
Search instead for 
Did you mean: 

What is the syntax for the SNMPWALK to our v 2c gateways

Highlighted
05 Base Camper

What is the syntax for the SNMPWALK to our v 2c gateways

What is the syntax for the SNMPWALK to our v 2c gateways?
3 REPLIES 3
Highlighted
Community Manager

Re: What is the syntax for the SNMPWALK to our v 2c gateways

Hi Nicolas,

Try:

[Prognosis Home] \Server>snmpwalk –m ALL -v 2c -c "COMMUNITYSTRING" 127.0.0.1

Let me know how you go.

Regards

Jitesh
Highlighted
05 Base Camper

Re: What is the syntax for the SNMPWALK to our v 2c gateways

Can you please confirm what the syntax is for an snmp v 3 walk from the Prognosis\Server\Configuration directory

 

I've been using this syntax to great effect for V 2c

..\snmpwalk.exe -c <community string> -v 2c <ip address of the gateway> 1.3.6.1.2.1.1

 

whats the v 3 equivalent? thanks

Tags (1)
Highlighted

Re: What is the syntax for the SNMPWALK to our v 2c gateways

Hello Justin,

 

SNMPWALK Tool instructions:

  1. Access the Prognosis Monitoring Node and open a Command Line window.
  2. Navigate to the Prognosis\Server\Configuration directory and run the SNMPWALK utility using one of the examples below (SNMPv3 or SNMPv2)

 

SNMPWALK Tool NOTES:

  • MS Office products (including email) will sometimes replace “-“ with “–“ which will cause the command to fail. Retype the command if needed to avoid this issue.
  • Remember to include the "..\" at the beginning of the snmpwalk command as shown in the examples.
  • To save the SNMPWALK output results to a file add “ > FileName.txt” to the end of the command to write output to the file specified.
  • Run "..\snmpwalk" alone on the command line for a list of options (some are SNMPv3 only).
  • Optionally, the numberic OID can be added to the end of any of the examples to query a specific OID.

 

SNMPv2c Example:

..\snmpwalk -m ALL -v 2c -c COMMUNITYSTRING 127.0.0.1

 

SNMPv3 Examples:

Unauthenticated request (which still requires a user name):

..\snmpwalk -m ALL -v 3 -n "" -u USERNAME -l noAuthNoPriv 127.0.0.1

 

Authenticated request (choose MD5 or SHA [remove the unused type] for -a option):

..\snmpwalk -m ALL -v 3 -n "" -u USERNAME -a MD5 or SHA -A "AuthenticationPASSPHRASE" -l authNoPriv 127.0.0.1

 

Authenticated and encrypted request (choose MD5 or SHA [remove the unused type] for -a option & choose AES or DES [remove the unused type] for -x option):

..\snmpwalk -m ALL -v 3 -n "" -u USERNAME -a MD5 or SHA -A "AuthenticationPASSPHRASE" -x AES or DES -X "PrivacyPASSPHRASE" -l authPriv 127.0.0.1

 

Thank you,

Scott Baldwin

Webinar: The Journey to Microsoft Teams - Readiness Phase (part 2)

Having looked at the planning phase in session one of this series, we will turn our focus to the readiness phase. The all important technical capabilities assessment, ensuring the network, endpoints and users are adequately prepared for the move.

Hear first hand from IR's Global Head of Information Systems and Technology, Jason Schwendinger, on how he has been tackling these issues.

Join webinar