What if Expect buffer overflows



I am send a cli command to my equipment using expect script.
The script is OK when the response of cli command sent to the equipment
is small.
There is a command whose response is very big ( it retuned me status of
100 of ports of my eqipment and may take 1 minutes to display the whole
result).
I have set timeout of 100 sec, and after sending that command I am
expecting a correct string, but after displaying small amount of data ,
the script is entering the next loop ( which it should enter only after
displaying all the info.). I have also increased the buffer size to
10000 char, but still no effect.
Can anybody please guide what should I do to display the whole info?

.