From 9b636f8b42b7d07326d1c1d01dde6b709fafdbc8 Mon Sep 17 00:00:00 2001 From: "rick.mollard" <rick.mollard@nebraska.edu> Date: Mon, 27 Jun 2022 13:22:15 -0500 Subject: [PATCH] update --- findfails.py | 6 ++++++ unkSwitches-cx.txt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/findfails.py b/findfails.py index 62bd5c4..508431c 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 5cbd4fe..4294976 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 -- GitLab