Smarts NCM: How do I query a device using the snmpWalk tool?; How do I get get MIB data values?
search cancel

Smarts NCM: How do I query a device using the snmpWalk tool?; How do I get get MIB data values?

book

Article ID: 303476

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - NCM

Resolution

How do I query a device using the Smarts Network Configuration Manager (Smarts NCM/VoyenceControl) snmpWalk tool?
How do I use the Smarts Network Configuration Manager (Smarts NCM/VoyenceControl) snmpWalk tool?

How do I get MIB data values using Smarts NCM snmpWalk tool?




To use the snmpWalk Command and write the data output to a file in the current directory, do the following:
  1. On a Voyence or Smarts NCM Application Server, Combination Server, or Device Server, log in to a shell as rootuser.
  2. Set the $VOYENCE_HOME environment variable by running the following command:

    source /etc/voyence.conf

     
  3. Use the snmpWalk tool to query a device, and write the results to a file by running the following command:

    $VOYENCE_HOME/tools/ ./snmpWalk <DEVICE_IP> -c <community string> -v2 > DEVICE_NAME.txt


    Example  
    $VOYENCE_HOME/tools/ ./snmpWalk 10.100.10.10 -c Test -v2 > Router.txt