Document toolboxDocument toolbox

sapwalk command

Use the sapwalk command to obtain information from an SNMP device that contains object IDs, their values, and types.

Syntax

The following is the command syntax:

sapwalk

Obtaining data from SNMP devices

To get data from an SNMP device:

  1. At the command prompt of the administrative shell, enter sapwalk and press Enter.
  2. Enter the SNMP hostname or IP address and then press Enter.
  3. If the network view is not determined automatically, enter the network view and press Enter.
  4. Enter the SNMP version (1,2c, or 3) and press Enter.
  5. Depending on the SNMP version you entered, do one of the following:
    • For SNMP v1 or 2c, enter the SNMP community string.
    • For SNMP v3, do the following:
      1. Enter the SNMP username and press Enter.
      2. If SNMP authentication is configured on your device, enter y, press Enter, and then provide the SNMP authentication passphrase and authentication protocol (MD5 or SHA). If not, enter n and press Enter.
      3. If SNMP privacy is configured on your device, enter y, press Enter, and then provide the SNMP privacy passphrase and the SNMP privacy protocol (DES, 3DES, AES128, AES192, AES256, AES192C, or AES256C). If not, enter n and press Enter.
  6. Enter the root OID.
    The data is stored in a file with the following file name: sapwalk-<SNMP hostname>.txt where <SNMP hostname> is the hostname you entered.