1.1 KiB
1.1 KiB
MikroTik Setup (RB4011 / CRS / CAP AX)
Use this to improve discovery quality and live monitoring.
1) Enable SNMP (for future LLDP/topology pollers)
Example (adjust community and allowed IP):
/snmp set enabled=yes contact="DevOps" location="Office" trap-version=2
/snmp community add name=net-topology addresses=192.168.88.0/24 read-access=yes
2) Enable LLDP/CDP neighbor discovery
/ip neighbor discovery-settings set discover-interface-list=all protocol=lldp
3) Optional: Send flow data (traffic relations)
RouterOS v7 supports Traffic Flow (NetFlow/IPFIX style):
/ip traffic-flow set enabled=yes interfaces=all cache-entries=4k active-flow-timeout=30m inactive-flow-timeout=15s
/ip traffic-flow target add dst-address=192.168.88.50 port=2055 version=9
- Set
dst-addressto the VM/laptop running your collector/flow parser.
4) Optional DNS visibility
If your DHCP clients use local DNS server, send DNS logs/events to the collector endpoint:
POST http://<collector>:8088/api/ingest/dns
For now in MVP, easiest path is log tailing from local DNS server logs (DNS_LOG_PATH in .env).