Find all snmp-server hosts configured in a config repository:
grep "snmp-server host" * | cut -d ":" -f 2- | sort | uniq > bogus
Find all secret4 deprecated hashes in a config:
grep "secret 4" * | cut -d ":" -f -1 | sed "s|-confg||g
grep IP adresses in files, logs, messages etc.:
grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])'