© Brendan Choi 2021
B. ChoiIntroduction to Python Network Automationhttps://doi.org/10.1007/978-1-4842-6806-3_13

13. Python Network Automation Lab: Basic Telnet

Brendan Choi1  
(1)
Sydney, NSW, Australia
 

This chapter is dedicated to Telnet labs using Python’s telnetlib library. You will learn how to use a basic Telnet example to reiterate and convert your tasks performed on the keyboard into Python scripts. Although Telnet is an insecure protocol and the best practice is to use the SSH protocol for remote connections, it is still in use today in many production environments residing in a well-secured network where only a small number of engineers can access the environment. At the end of this lab, you will be able to do the following using the basic ...

Get Introduction to Python Network Automation: The First Journey now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.