Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDP to CSV Feature Request #59

Open
rajmistry1 opened this issue May 23, 2023 · 0 comments
Open

CDP to CSV Feature Request #59

rajmistry1 opened this issue May 23, 2023 · 0 comments

Comments

@rajmistry1
Copy link

Hi Jamie,

Firstly, I'd like to thank you for the excellent work on the SCRT scripts for Cisco devices which I use quite frequently.

I've tried to update the cdp to csv template script to allow to include the hostname of the device the script was run on as the first column in the CSV file it creates but I have been unsuccessful.

At line 1 I added: Value Filldown HOST (.*)
And after the Start line, I added ^${HOST}#show\scdp\sneighbors\sdetail.

It appears the hostname is not captured when the command is run and so I am totally lost on how to include it.

Are you able to help with this tweak?

When I merge all the CDP.CSV outputs per site into a single CSV, I am unable to easily identify each entry to the hostname it was generated on. To merge all into one file I simply perform a dos command copy *.csv Merged-CDP-All.csv.

I look forward to your help on this.

Thanks
Raj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant