Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi All,I'm trying to connect to our switch via telnet using script. It's just a basic script to change the hostname. But everytime I run the scrip I get an error. import getpass
import telnetlib
HOST='192.168.0.2'
user = input("Enter your remote acc...
Hi Experts,I have this weird issue on one of our switches Few ports are not working properly. When I plugged a computer on the port I always get "Unidentified Network"These ports are 1,2.46 and 25 as far I've tested.I already tried plugging in a lapt...
Hi Sir @balaji.bandi,It works now. The issue is the spacing. Instead of tn.read_until(b"Username: "), The telnet prompt is tn.read_until(b"Username:"). Thanks for the help sir.
Hi Sir @balaji.bandi,Debug shows it's passing the "User Name:" instead of "Username:" but in the script it is tn.read_until(b"Username: ") Telnet Debug:Telnet(192.168.0.2,23): recv b'\r\nUser Name:'What should I change in the script? Thank you very m...