netfishers-onl / Netshot

Network Configuration and Compliance Management
http://www.netfishers.onl/netshot
242 stars 57 forks source link

extract usernames from devices ( Switchs, ASA...), and stock them on file. #258

Open ychafi opened 1 year ago

ychafi commented 1 year ago

Hi Community,

we have a lots of Cisco Switch configured on Netshot, and we need to search all usernames configured on these Switchs, like " show run | include username " to extracte all usernames , and after stock this outputs on files.

Thank you for your help.

Regards,

RGlintmeijer commented 1 year ago

Maybe you can use the configured “netshot.snapshots.dump” directory to grep the usernames from all latest config files?