Subject: Re: ssh to cisco switch

Re: ssh to cisco switch

From: Peter Stuge <peter_at_stuge.se>
Date: Wed, 5 Mar 2014 15:26:36 +0100

Mal wrote:
> Just wondering if anyone has coded an example to execute a "show version"
> (remote command) for a Cisco switch (or any manageable type device) before.

You need to implement a (simple) terminal emulator and use
screen-scraping techniques, if your manageable type device doesn't
implement a documented protocol which you can use.

A random command line interface is not a documented protocol.

The task you have in mind is neither fun nor simple.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-03-05