diff --git a/findfails.py b/findfails.py index 62bd5c4d39ca495152e3ce730f9d69fb23c849db..508431c42ec3e06b7cb529c53f61e9da90bbb56c 100644 --- a/findfails.py +++ b/findfails.py @@ -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 diff --git a/unkSwitches-cx.txt b/unkSwitches-cx.txt index 5cbd4fe115c9feedc2b772024f6b4af1477a7ac2..4294976b7cb01c6a1e56a88c7417d4d2bb0bb2db 100644 --- a/unkSwitches-cx.txt +++ b/unkSwitches-cx.txt @@ -1 +1 @@ -10.171.0.19 \ No newline at end of file +10.171.0.41 \ No newline at end of file