port_report.py update 1.3
Uncategorized
Add comments
Apr 162009
Update 1.3
- You are now able to pass 4 different mac formats.. For instance
00 14 38 4f 5e 39 or 00-14-38-4f-5e-39 or 00:14:38:4f:5e:39 or
0014.384f.5e39″ - More information is printed out when you pass the mac or ip
- Further Testing shows the script runs on Cisco Switches only so far.
I trying very hard to get this script to work with non Cisco device, but since I do not have any other networking device besides Cisco available to me, I am limited.I am working with Kshort to assist me in trying to add Nortel and Foundry, but I can user more help from the community. If you can assist with this please let me know..
Example below…
python port_report.py -d 192.168.101.1 -c public -m "0014.384f.5e38"
MAC = 00 14 38 4f 5e 38
Port = GigabitEthernet1/17
Speed = 1gbps
Duplex = unknown
Vlan = 175
IPAddr = 192.168.101.200
You can download the script here port_report.py