Create a python script with Telenet

Job ID: 33756735

Budget: $10 – $30 USD

I need to create a python script to change this configuration on all the switches in the net with 1 command.

telnet <host>

(usr: xxx, pwd: xxx)

#

sys

#

info-center source default channel 2 log level error
info-center source default channel 4 log level notification
info-center source HSC channel 4 log state off
info-center loghost 172.18.0.66

#

return

#

save (answer yes and wait 15sec)

#
quit

*** I need to be able to see if there were any errors also.
Related categories: Python Linux Software Architecture Shell Script