May 042009
 

The Port Report Project is essentially a Switch Port Mapper Tool or a Switch Port Mapping Tool like a few other commercial products out there, except The Port Report Project is free.  Right now there is no GUI or WEB interface for the project but it is in the works.

Here is a quick update….. I just add dns reverse lookups to the output of this script.. So if you have Pointer Records set on a good part of your infrastructure, you will get the host name to those MAC Addresses that have the IP addresses in the ARP table.

You can download Port Report 1.8 here http://www.linuxdynasty.org/View-details/Python-Scripts/39-port_report.py.htmll
{quickdown:39}
Example below…

 

Here is an example from running port_report.py with the –report option..

GigabitEthernet3/2,00 50 56 aa 06 63,192.168.101.64,lists.linuxdynasty.org,vlan32,up,up,fullDuplex,1000mb,conan vmnic6GigabitEthernet3/2,00 50 56 aa 1e 9b,192.168.101.54,Pointer Record Not set for 192.168.101.54,vlan32,up,up,fullDuplex,1000mb,conan vmnic6GigabitEthernet2/28,00 11 21 35 1d da,The IP Address for 00 11 21 35 1d da is not in the ARP Table,None,vlan15,up,up,fullDuplex,1000mb, 

Here is an example running  with the –pname option..

SwitchPort = GigabitEthernet3/2SwitchPortSpeed = 1000mbSwitchPortDuplex = fullDuplexSwitchVlan = vlan32SnmpHostName = requestTimedOutHostDescr = requestTimedOutHostMAC  = 00 50 56 aa 06 63HostIP = 192.168.101.64HostName = lists.linuxdynasty.org

SwitchPort = GigabitEthernet3/2SwitchPortSpeed = 1000mbSwitchPortDuplex = fullDuplexSwitchVlan = vlan32SnmpHostName = requestTimedOutHostDescr = requestTimedOutHostMAC  = 00 50 56 aa 1e 9bHostIP = 192.168.101.54HostName = Pointer Record Not set for 192.168.101.54

SwitchPort = GigabitEthernet3/2SwitchPortSpeed = 1000mbSwitchPortDuplex = fullDuplexSwitchVlan = vlan5SnmpHostName = No SNMP AccessHostDescr = No SNMP AccessHostMAC  = 00 50 56 aa 51 6aHostIP = The IP Address for 00 50 56 aa 51 6a is not in the ARP TableHostName = None 

dynasty

© 2011 LinuxDynasty Suffusion theme by Sayontan Sinha

Warning: fopen(/home/dynasty/linuxdynasty.org/wp-content/plugins/wp-google-plus-one/lib/standard.txt) [function.fopen]: failed to open stream: No such file or directory in /home/dynasty/linuxdynasty.org/wp-content/plugins/wp-google-plus-one/plusone.php on line 104

Warning: fread(): supplied argument is not a valid stream resource in /home/dynasty/linuxdynasty.org/wp-content/plugins/wp-google-plus-one/plusone.php on line 105

Warning: fclose(): supplied argument is not a valid stream resource in /home/dynasty/linuxdynasty.org/wp-content/plugins/wp-google-plus-one/plusone.php on line 106
.