Hello everyone,i have a problem:I can't connect via python script to switch,using telnetlib module:Script:
HOST = "10.255.23.10"
user = input("Enter your account: ")
password = getpass.getpass()
tn = telnetlib.Telnet(HOST)
tn.write(user.encode('ascii') + b"")
tn.write(password.encode('ascii') + b"")
And what's happening:After input password nothing happened.I don't know why.
HP J9774A 2530-8G-PoEP Switch
What firmware version ?
Why don't use API ? it is will be more easy...
Hello,YA.16.08.0001Why not API?Because i'm learning Python and want so.
you can use Python and API !
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.