The following are the prerequisites for this course:
¡Ü Have a basic to intermediate understanding of Perl.
¡Ü Have a basic to intermediate understanding of UNIX.
¡Ü This course uses Perl and UNIX but is not meant as an introduction to either technology. Students should already be familiar with these technologies.
This instructor-led course introduces you to the fundamentals of Cisco¢ç device automation using Perl scripts. Through a combination of lecture and hands-on labs, you will gain an understanding of how to use the Perl scripting language to monitor, provision, upgrade, and test Cisco network devices running Cisco IOS¢ç Software.
The course is designed to allow the students to build upon their work as they progress through each section. This leaves students with completely functional scripts that they can continue using after the course for the basis of their own scripts.
The course outline is as follows:
©« Module 1: Introduction to Perl Scripting and Using the Basic Constructs
o Coding style and best practices
o Building a base script and making it executable
o Using Perl modules and command line arguments
©« Module 2: Basic Expect and Debugging
o Using Expect
o Expect debugging
o Expect loops
©« Module 3: Using a Script to Access Cisco Devices with SSH and Telnet
o Using SSH and Telnet with Expect
o Spawn connection, login, and disconnection
o Run commands
©« Module 4: Parsing Command Output
o Using programming loops such as while and foreach
o Using given/when
o Using split
o Using regular expressions
o Waiting for desired output and timeouts
©« Module 5: Access Devices Using a Terminal Server and Handling Paging
o Using a terminal server
o Performing enhanced error recovery
o Handling terminal length, width, and paging issues
o Exiting the terminal connection
Who Should Attend
This course is for technical professionals who need to know how to automate networks built using Cisco routers and switches.
The following are considered the primary audience for this course:
©« Technical support personnel
©« Network engineers