IP and Port number in snmp simulator
shmn18 opened this issue · comments
How to get the IP address and port number of the simulated network in the SNMP simulator?
the ip addr and port number is in the commandline that you specify to run the simulator.
Thank you for your message tkekan.
To simulate a network I run the command (snmpsim-command-responder --data-dir=./Desktop/snmprec --agent-udpv4-endpoint=127.0.0.1:1024)
./Desktop/snmprec is the directory where my snmprec file is.
Is 127.0.0.1 and 1024 are the ip address and port number of the simulated network?
This is a screenshot of the snmp simulator running. Is it correct?
Yes the simulator runs on 127.0.0.1 and port 1024. You can test this out doing a simple snmpget against that ip:port
The community string "public" is incorrect. You will see in the output when you start the simulation that the community string is "device_192_168_184_21".
This is answered and resolved.