Proposed Extreme changes.

Alex Bochannek ABochannek at yipes.com
Fri Oct 19 17:26:18 UTC 2001


One more diff:

bash-2.03$ diff -c clogin clogin.new 
*** clogin      Fri Oct 19 10:20:07 2001
--- clogin.new  Fri Oct 19 10:21:21 2001
***************
*** 491,497 ****
                                                  exp_continue }
                -re "\[^\r\n]*Press <SPACE> to cont\[^\r\n]*"   { send " "
                                                  expect {
!                                                       -re "\[\r\n]*\r\r"
{}
                                                  }
                                                  exp_continue
                                                }
--- 491,499 ----
                                                  exp_continue }
                -re "\[^\r\n]*Press <SPACE> to cont\[^\r\n]*"   { send " "
                                                  expect {
!                                                       # gag, 2 more
prompts
!                                                       -re "\[\r\n]*\r" {}
!                                                       -re "\[^\r\n]*Press
<SPACE> to cont\[^\r\n]*"   { send " "; exp_continue }
                                                  }
                                                  exp_continue
                                                }

Also, has anybody seen the problem where an Extreme pauses in the middle of
the banner when doing a show config? I rather would not have to undo
expect_after to get timeout to match in run_commands.

Alex Bochannek 
Senior Unix/Network Engineer 
Yipes ... that's fast! 
(415) 901-2000 
(415) 901-2090 (direct) 
www.yipes.com
 




More information about the Rancid-discuss mailing list