================================= Documentation: ================================= Cisco IOS Shell Configuration Guide: http://bit.ly/2kwMyYN ================================ Books: ================================= Cisco Press Book: https://amzn.to/2LpaU1a Good O'Reilly Book: https://amzn.to/2Lpbw6Z ================================= Free TFTP Server: ================================= Free SolarWinds TFTP Server: http://bit.ly/2mbtD6j ================================= Script 1: ================================= for xx in `interface Ethernet`; do echo $xx; done ================================= Script 2: ================================= for xx in `interface Ethernet`; do echo $xx `show int $xx | inc input errors` ; done ================================= Script 3: ================================= function shrun(){ n=-1 while true; do let n++ if [[ $n -le 3 ]]; then show run int g0/$n echo $n else break; fi done }