Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting to interact with CISCO IOS

Status
Not open for further replies.

leekb

Technical User
Oct 9, 2002
37
SG
Hi,

I have a Sun machine running Solaris 7. How do I go about writing a script to:

* telnet into a CISCO router.
* execute a CISCO ISO command.
* capture and pass the output of the IOS command to UNIX.
* save the output into the UNIX filesystem.

Can UNIX shell script achieve this? If not, what other scripting language is suitable for this kind of job?

thanks in advance,
leekb@bigfoot.com
 
'expect' is your dear friend for something like that! vlad
+---------------------------+
|#include<disclaimer.h> |
+---------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top