Bernie wrote:
>> [...]
>>
>> You can always use expect or perl's Expect module. But if your
>> switch offers an ssh interface, I'd be surprised if doesn't
>> provide with an interface to do things more automatically. SNMP
>> perhaps?
>>
>> --
>> Stéphane
>
> Similarly there's an expect module for Python -
> http://pexpect.sourceforge.net/
>
Thanks all! Expect is not that I expect but this is the way, we will
test it. It's like DOS times when I fill keyboard buffer and call
Turbo-Basic in my batch compile utility.

About SMNP: we don't sure about SNMP security so don't want to use it.