This program reads a text file containing the output of a MAC address table or an ARP table like a Cisco sh ip arp
it then data mines that file, getting the company and OUI information, it then searches the text file using the specific OUIs for Apple, Cisco, Dell, Mitel and HP devices to get how many of each of these devices are in the ARP / MAC address table.
It produces text files containing:
- The alphabetized list of unique vendors (as in companies) shown in the file (via a restful API lookup)
- A list of all the unique OUIs (hardware types) seen in the ARP / MAC Address table (removes duplicate entries)
- A total list of Apple systems seen in the ARP /MAC address table
- A total list of the Cisco devices seen in the ARP / MAC address table
- A total list of the Dell devices see in the ARP / MAC address table
- A total list of all the HP devices in the ARP / MAC address table
- A total list of all the Mitel Inc phones in the ARP / MAC address table
- A total list of all the unique VLANs in the ARP / MAC address table
The files above contain relevant information such as (if an ARP table was digested) the IP address, time the system in question saw the device, the MAC address of the specific device, and the VLAN it is in.
... And now shows progress bars and produces an interactive Pie Chart if you have Firefox or Chrome available on a Linux, Windows or Mac computer
Source code(tar.gz)
Source code(zip)
Vendor-Finder.py(27.95 KB)