mix snmpkit.sim (snmpkit v2.0.1)

Starts simulated devices and keeps them running until interrupted.

mix snmpkit.sim CONFIG.json|CONFIG.yaml
mix snmpkit.sim --device router --port 1161
mix snmpkit.sim --sample sim.json

Options:

  • --device - one bundled profile (cable_modem, router, switch) or a walk file path
  • -p, --port - UDP port for --device (default 1161)
  • -c, --community - community for --device (default public)
  • --sample - write an example configuration to this path and exit (.json or .yaml)

A configuration file describes device groups, ports and behaviours; see SnmpKit.SnmpSim.sample_config/0. YAML files need the optional yaml_elixir dependency.