Smarts IP: How to use sm_snmpwalk to retrieve a specific OID rather than the full MIB Walk
search cancel

Smarts IP: How to use sm_snmpwalk to retrieve a specific OID rather than the full MIB Walk

book

Article ID: 331836

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


This is how to use the sm_snmpwalk utility to target a specific OID.

In some instances of troubleshooting we need to target a specific OID using sm_snmpwalk.  This article describes how.

Environment

VMware Smart Assurance - SMARTS

Resolution

These instructions can be run from either the Linux, or Windows command line.  They are executed from the <base dir>/smarts/bin folder.

In this example, the target OID is .1.3.6.1.2.1.4.20.1.2.

To target the OID - .1.3.6.1.2.1.4.20.1.2 on the windows command line.
  • $ ./sm_snmp.exe -d <device_ip> -p 161 --snmp=2c -c public@default walk .1.3.6.1.2.1.4.20.1.2


To target the OID - .1.3.6.1.2.1.4.20.1. on a LINUX command line.
  • $ ./sm_snmp -d <device_ip> -p 4532 --snmp=2c -c public@mgmt walk .1.3.6.1.2.1.4.20.1.2