Tech Tips - How to simulate customer SNMP devices in your lab

Document created by Yu_Ishitani Employee on Apr 3, 2017Last modified by PeteBennett on Jun 23, 2017
Version 2Show Document
  • View in full screen mode

This document assumes the below.

  •      You are familiar with sapwalk2 utility.
  •       You have walk output of customer SNMP devices.

 

Here are steps to simulate customer SNMP devices in your lab.

 

  1. Download and install the simulator on your Windows machine.

https://sourceforge.net/projects/snmpsim/files/snmpsim/0.2.4/

snmpsim-0.2.4-setup-win32.exe

 

NOTE: If Microsoft Visual C++ 2008 Redistributable (x86) is not installed, please install it separately.

 

  1. Create a data directory where you place the walk file. For example c:\snmpdata.

 

  1. Please ensure that you walk file meets the below criteria:

 

- Was created through the sapwalk2 utility.

- All commented lines are removed from the output.

- File extension is . sapwalk

 

  1. Place the walk file to data directory.

 

  1. From a command line run:

 

C:\Program Files (x86)\SNMP Simulator>snmpsimd --agent-udpv4-endpoint=192.168.35.111:161 --data-dir=c:\snmpdata --v2c-arch

 

Where 192.168.35.111 is the IP address of the Windows machine.

The name of the file will be community name.

 

NOTE: Windows SNMP Service needs to be shutdown

NOTE: The community string will be the name of the file.

For example, I have test01.sapwalk in the data directory, so test01 is community name.

1 person found this helpful

Attachments

    Outcomes