pexpect maxread problem

Bojan Sukalo shukalo83 at
Thu Oct 22 13:55:42 CEST 2009

I want to collect the the information from cisco devices through ssh. Using pexpect logout method seems good but maxread attribute is limited to 1168 characters. Allthough I set it to 2000, when I do show running-config on cisco router output comes to the logfile until the 1168 character is reached.  Windows size is 500 x 80. I checked the maxread atribute and it's 2000 during the code execution. What stops the output of beeing written into log file?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list