No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi guys please I want to save the output logs to text file I run this script but does not work . the error show me in last 3 row import sys import telnetlib import getpass ##################### ###### Define Host host=["192.168.1.164","192.168.1.169"] devno=len(host) user='ali' Password='cisco' for i in range(devno): print('*'*50 + … |
|
Hi guys how are you please why When I run this code it does not work but when I change the ( tn.write(b"config t \n") tn.write(b"router ospf 10 \n") to the show command it works fine ?? **************************************************************************************************************** import sys import telnetlib import getpass host=["192.168.1.164","192.168.1.169"] devno=len(host) user='ali' Password='cisco' for i … |