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.jsonOptions:
--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(defaultpublic)--sample- write an example configuration to this path and exit (.jsonor.yaml)
A configuration file describes device groups, ports and behaviours; see
SnmpKit.SnmpSim.sample_config/0. YAML files need the optional
yaml_elixir dependency.