You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
1.9 KiB
107 lines
1.9 KiB
= LabInstance snmpsim!
|
|
|
|
|
|
== Quickstart
|
|
|
|
This is a quickstart guide of howto use this *LabInstance*
|
|
|
|
=== Default Configuration
|
|
|
|
- Working Directory
|
|
|
|
> /home/docker/project
|
|
|
|
- Default user
|
|
|
|
> docker
|
|
|
|
- Default password
|
|
|
|
> docker
|
|
|
|
- Default password4root
|
|
|
|
> pass
|
|
|
|
|
|
== LabInstance Info
|
|
|
|
|
|
This is a pure-Python, open source and free implementation of SNMP agents simulator distributed under 2-clause
|
|
|
|
Features
|
|
|
|
* SNMPv1/v2c/v3 support
|
|
* SNMPv3 USM supports MD5/SHA/SHA224/SHA256/SHA384/SHA512 auth and DES/3DES/AES128/AES192/AES256 privacy crypto algorithms
|
|
* Runs over IPv4 and/or IPv6 transports
|
|
* Simulates many EngineID's, each with its own set of simulated objects
|
|
* Varies response based on SNMP Community, Context, source/destination addresses and ports
|
|
* Can gather and store snapshots of SNMP Agents for later simulation
|
|
* Can run simulation based on MIB files, snmpwalk and sapwalk output
|
|
* Can gather simulation data from network traffic or tcpdump snoops
|
|
* Can gather simulation data from external program invocation or a SQL database
|
|
* Can trigger SNMP TRAP/INFORMs on SET operations
|
|
* Capable to simultaneously simulate tens of thousands of Agents
|
|
* Offers REST API based control plane
|
|
* Gathers and reports extensive activity metrics
|
|
* Pure-Python, easy to deploy and highly portable
|
|
* Can be extended by loadable Python snippets
|
|
|
|
== More info
|
|
|
|
https://github.com/etingof/snmpsim[^]
|
|
|
|
|
|
== RUN INSTANCE
|
|
|
|
Swarmlab services can be run in different ways.
|
|
|
|
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
|
|
- or use them individually at will on the **command line of your system**
|
|
|
|
|
|
=== CLI
|
|
|
|
> git clone ...
|
|
|
|
> cd [DIRECTORY]
|
|
|
|
|
|
=== help
|
|
|
|
> make help
|
|
|
|
|
|
==== create service
|
|
|
|
> make create
|
|
|
|
|
|
=== start service
|
|
|
|
> make start
|
|
|
|
|
|
=== stop service
|
|
|
|
> make stop
|
|
|
|
|
|
=== list service
|
|
|
|
> make list
|
|
|
|
|
|
=== clean service
|
|
|
|
> make clean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|