jamiecaesar / securecrt-tools

SecureCRT scripts, written in Python, for doing various tasks when connected to Cisco equipment.
Apache License 2.0
246 stars 78 forks source link

Additional Feature Request in switchport mapping script #46

Closed cmacasae closed 4 years ago

cmacasae commented 4 years ago

As a network engineer I find the collection of scripts very useful. Kudos!

However, in the switchport mapping script it will useful for me as a network engineer if there are also columns for speed, duplex, and type (the ones found in the show interface status command). It seem those were dropped by the script. It will be nice to have those back please :-}

Another add-on if cdp neighbor table can also be added to the switchport mapping script.

Thank you for these amazing scripts.

jamiecaesar commented 4 years ago

Please pull the devel branch and see if the script work correctly for you (note: you'll need to pull all the changes in the devel branch, not just the one script because I had to make some changes elsewhere)

cmacasae commented 4 years ago

The output of the switchport mapping script in the devel branch looks good to me with the additional description, speed, duplex, type (from sh int status) column. Thank you for taking time on my request.

Would it be also possible to merge the cdp-to-csv output in the switchport mapping script? Like instead of just the switchport mapping script asking for the arp-to-csv output, it will also ask for the cdp-to-csv output? I think it will complete the details for complete network discovery.

Again, thank for these amazing scripts. More power sir.

jamiecaesar commented 4 years ago

Did the updated script meet your needs? If so, I'll close the issue.

cmacasae commented 4 years ago

Yes. Thank you very much.