Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bryan3k
  • Content: Threads
  • Order by date
  1. bryan3k

    Expect matches actual command instead of output

    I have an issue where expect is matching the actual remote command instead of the output. The code is: send "show card 1 | match down\r" expect { "down" {write_card_fail $host} } The problem is expect matches the "down" from the command and not the actual output of the command. Anyway to...
  2. bryan3k

    Expect/TCL - Handling a Telnet connection failure

    Hello, I have an Expect script that logs into a number of routers to perform backups and it works pretty well. The problem I am having is figuring what to do when the host is not responding. Here is the snippet for the log in procedure: proc log_in {host} { global spawn_id spawn telnet...

Part and Inventory Search

Back
Top