We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1bbc0 commit deb634cCopy full SHA for deb634c
EEM-interface-move-routes/EEM-interface-move-routes.py
@@ -38,5 +38,9 @@
38
# some of the execution.
39
40
cli.configure('no ip route 10.10.1.2 255.255.255.255 10.90.1.1');
41
+# CLI route to negate when original event occurs. Idea being, this is the next hop
42
+# on the other end of the interface that went down.
43
time.sleep(2)
-cli.configure('ip route 10.10.1.2 255.255.255.255 10.90.1.65');
44
+# Sleep, just because. We are doing CLI after all.
45
+cli.configure('ip route 10.10.1.2 255.255.255.255 10.90.1.65');
46
+# CLI route to add when the original event occurs. Next hop of a backup interface.
0 commit comments