Skip to content
Snippets Groups Projects
Commit 9b636f8b authored by rick.mollard's avatar rick.mollard
Browse files

update

parent e781fc2b
Branches
No related tags found
No related merge requests found
......@@ -68,6 +68,12 @@ for selectIP in file:
output2 = net_connect.send_command(f"port-access reauthenticate interface {to3}")
print(f"{to3} Reauthentication initiated.")
#output1 = [f"interface {to3}","shut","no power"]
#net_connect.send_config_set(output1)
#time.sleep(1)
#output2 = [f"interface {to3}","no shut","power"]
#net_connect.send_config_set(output2)
to = to.split(" ")[0]
net_connect.disconnect()
\ No newline at end of file
10.171.0.19
\ No newline at end of file
10.171.0.41
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment