telnet scripts

Hi,

Can someone please send me a sample script to login to a specific device and do someme command then logout.

Thanks..

I suggest you look at using ssh. Makes these things much simpler with public/private keys.

i believe you have Perl on your system. you can use the Net::Telnet module
See here for examples

thanks man...