The telnetlib module provides a Telnet class that implements the Telnet protocol under Python programming language.
I am trying to read from a cisco router using telnetlib import telnetlib tn = telnetlib.Telnet(’10.106.218.50’, 17280) cmd1=”enable” cmd2=”show …
python-2.7 telnetlib cisco-iosI am trying to send control + c command in python using telnetlib library. Currently I am doing tn.write('^]…
python telnet telnetlib