Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
528
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. devices = [device1, device2, device4, device5, device6, device7]
  2. for i in devices:
  3. net_connect = ConnectHandler(**i)
  4. # get the prompt as a string
  5. output=net_connect.send_command_expect('show vpn load-balancing | grep %')
  6. print("--------------------------------------------------------------------------------------------------------")
  7. print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement