Hey everyone, I am trying to work on a python script that logs onto a firewall, moves into TACP-15 and enters the relevant password. After which it runs a command.
Problem is the script is getting stuck at the password prompt after running: tacacs_enable TACP-15.
I've tried adding \r to no avail. Has anyone managed this?
Relevant part of the script below:
# Then send the command and print the output
output = net_connect.send_command('lock database override')
print(output)
output = net_connect.send_command('tacacs_enable TACP-15')
print(output)
output = net_connect.send_command(expert_password)
print(output)
output = net_connect.send_command('show route')
print(output)