Task Automation for Network Engineers (TCL/EXPECT)
What about this course?
This course is intended for network engineers who want to use automation to simplify and streamline management of their environment but are unfamiliar with scripting on networking platforms. The topics covered in this class can be applied across all vendors because the TCL and Expect languages are not platform-specific. Using TCL/Expect along with regular expressions, you will find that many tasks that would have previously taken hours can be done in a matter of minutes!

Instructor for this course
Alex Harrison
INE Instructor
This course is composed by the following modules
Introduction to Task Automation with TCL
Installing TCL on Linux, Mac OSX, & Windows
Data Types
Quotes vs Curly Braces
Operators
Variable Substitution
Command Substitution
Backslash Substitution
Lists
Arrays
Syntax
String Manipulation
Control Statements
Procedures
Command Line Arguments
File Handling
Introduction to Expect
Expect Commands
Example :: Expect
Advanced Expect Commands
Example :: Interact Command & Multiple Sessions
Regular Expressions
Regular Expressions :: Quotes & Curly Braces
Regular Expressions :: Switches & Metacharacters
Example :: Advanced Regular Expressions
Greedy & Non-Greedy Quantifiers
Example :: Greedy & Non-Greedy Quantifiers and Bounds Modifiers
Error Handling
Example :: Generating Error Messages & Catching Error Messages
Using Tk to Create a GUI
Tk :: Widgets
Common Options with Tk Widgets
Example :: Tk Package/ GUI Run through
Intermediate TCL Scripting
Example :: Control Linux Commands using a GUI
Example :: Drive an Expect Session using Tk & Expect
Access to Remote Server & Respond to Feedback
Example :: TCL & Expect Software Install on a Remote System
Basics of Creating & Sourcing Libraries
Example :: Creating & using a Library
Task Automation Conclusion
Common Course Questions
If you have a question you don’t see on this list, please visit our Frequently Asked Questions page by clicking the button below.
If you’d prefer getting in touch with one of our experts, we encourage you to call one of the numbers above or fill out our contact form.
Do you offer training for all student levels?