subscribe

10x Engineer: Linux, TCL and EEM scripts directly on Cisco IOS!

Learn TCL, Embedded Event Manager and Linux Shell scripts 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.

Menu:
1) TCL Scripts: 2:00
2) Embedded Event Manager Scripts: 7:45
3) Linux Scripts: 14:05

In later videos I’ll show you how to use Python scripts and other cool options on Cisco IOS devices.

================================
Free TFTP Server:
=================================
Free SolarWinds TFTP Server: http://bit.ly/2mbtD6j

=================================
Documentation:
=================================
TCL: http://bit.ly/2mbkRoT
EEM: http://bit.ly/2lQZWHl
Shell: http://bit.ly/2kwMyYN

=================================
Books:
=================================
Cisco Press Book: https://amzn.to/2LpaU1a
Good O’Reilly Book: https://amzn.to/2Lpbw6Z

=================================
TCL Script:
=================================
tclsh
foreach ipaddr {
10.1.1.1
10.1.1.2
10.1.1.3
10.1.1.4
10.1.1.1
10.1.1.2
10.1.1.3
} { ping $ipaddr}

tclsh ping.tcl

=================================
EEM Script:
=================================
event manager applet GIG0_DOWN
event syslog pattern “Interface GigabitEthernet0/0, changed state to administratively down” period 1
action 1.0 cli command “enable”
action 2.0 cli command “config terminal”
action 3.0 cli command “interface g0/0”
action 4.0 cli command “shutdown”
action 5.0 cli command “no shutdown”
action 6.0 syslog msg “What’s going on? GIG 0/0 went down!”
!
end

debug event manager action cli

=================================
Linux Shell Script:
=================================
for x in 1 2 3
do
ping 10.1.1.$x
done

function testping(){
ping 10.1.1.1
ping 10.1.1.2
ping 10.1.1.3
ping 10.1.1.4
}

function testecho(){
echo 10.1.1.1
echo 10.1.1.2
echo 10.1.1.3
echo 10.1.1.4
}

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

How did you find this video? Did you enjoy learning about tcl, eem and linux scripts? All the best!
David Bombal

#linux #ccna #devnet