Cisco: EEM TCL: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 April 2022

  • curprev 19:1919:19, 4 April 2022Eric talk contribs 2,252 bytes +2,252 Created page with " ### Config # set script_version "0.2" set ip 10.10.10.33 # ### Einde config # Syslog bericht om aan te geven dat we zijn gestart set syslog [open "syslog: " w+] puts $syslog "DSL-STATE: Line is down, waiting for 3g backup connection" close $syslog set link 0 # Zolang de link plat is, blijven pingen while { $link == 0 } { # Wanneer we 3x een ! krijgen is de link betrouwbaar genoeg if { [regexp "(!!!)" [exec "ping $ip timeout 1" ]] } { set..."