Sveriges mest populära poddar

David Bombal

#91: Linux scripts on Cisco IOS?

12 min • 2 oktober 2019
Did you know you could use these Linux Shell scripts directly on Cisco IOS! No need to use Python or use a Linux VM. Just run these directly on Cisco IOS! You can be a 10x Engineer! Amaze others with your knowledge of the Cisco IOS. You don't need python for these scripts. Rock that job interview and show senior network engineers what you can do. Keep on learning and change your life. Get that good paying job by showing your skills. ================================= 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 You don't need a linux shell or linux virtual machine to use these commands. You can use them directly in classic Cisco IOS! ================================= 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 } 10x Engineer CCNA Cisco Devnet Associate CCNP Enterprise CCNP Security CCNP Data Center CCNP Service Provider CCNP Collaboration Cisco Certified Devnet Professional Cisco Certified Network Professional LPIC 1 LPIC 2 Linux Professional Institute LX0-103 LX0-104 XK0-004 David’s details: YouTube: https://www.youtube.com/davidbombal Twitter: https://www.twitter.com/davidbombal Instagram: https://www.instagram.com/davidbombal LinkedIn: https://www.linkedin.com/in/davidbombal Facebook: https://www.facebook.com/davidbombal.co Website: http://www.davidbombal.com #linux #cisco #DevNet
Kategorier
Förekommer på
00:00 -00:00