Unix Shell - Script to telnet a Cisco router

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > April 2004 > Script to telnet a Cisco router





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Script to telnet a Cisco router
daniele di mattia

2004-04-02, 11:39 am

Hello folk,

I'd like to make a simple script to telnet a cisco router and get the
output of "show interfaces" command.
I tried Google, but I found no examples. Hints, links, ideas will be very
apreciated.

Have a good day

daniele di mattia
Kenny McCormack

2004-04-02, 5:34 pm

In article < Xns94BFB5677234Bdimattiadespammedcom@127
.0.0.1>, daniele di
mattia <dimattia@despammed.com> wrote:
>Hello folk,
>
>I'd like to make a simple script to telnet a cisco router and get the
>output of "show interfaces" command. I tried Google, but I found no
>examples. Hints, links, ideas will be very apreciated.


Check into the "netcat" command. Netcat is a lightweight version of telnet.

those who know me have no need of my name

2004-04-02, 9:34 pm

in comp.unix.shell i read:

>I'd like to make a simple script to telnet a cisco router and get the
>output of "show interfaces" command. I tried Google, but I found no
>examples. Hints, links, ideas will be very apreciated.


you need to hone your googling skills. third hit using a trivial `cisco
router telnet' is <http://nettelnetcisco.sourceforge.net/docs.html>.

--
a signature
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com