Search the ARP entries and Forwarding Database on Cisco switches.
This is meant to replace the slow and archaic method of getting this information via SNMP queries.
- Download the repository or
git clone
the code python get_info.py
to start collecting ARP and FDB info. Modify the list of switches you want to get info from.ruby server.rb
to start the Sinatra frontend that lets you search the data captured.
- Python ~3.7
- Ruby ~2.5.1
- Redis 4
- pip modules: redis, netmiko, schedule, textfsm
- rubygems: sinatra, redis
- ntc-templates
[ ] Integrate with IOS-XE guestshell (IOX) [ ] Export JSON API endpoint [ ] Export Prometheus compatible statistics
The heavy lifting with this project is done by the awesome work from the folks behind the netmiko and paramiko libraries.