Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82307 > unrolled thread

Re: seeking a framework to automate router configurations

Started byercintorun@gmail.com
First post2014-12-10 12:07 -0800
Last post2014-12-10 12:07 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: seeking a framework to automate router configurations ercintorun@gmail.com - 2014-12-10 12:07 -0800

#82307 — Re: seeking a framework to automate router configurations

Fromercintorun@gmail.com
Date2014-12-10 12:07 -0800
SubjectRe: seeking a framework to automate router configurations
Message-ID<8a2986be-765f-490c-8dc2-f573759cfb03@googlegroups.com>
18 Aralık 2013 Çarşamba 04:40:20 UTC+2 tarihinde Frank Cui yazdı:
> Hi Pythoners,
> 
> 
> I'm looking for a tool or framework in which I can do a slight modification to achieve the following task:
> 
> 
> "Asynchronously reset a large number of cisco routers back to their original configurations and push prepared initial configurations to them"
> 
> 
> I did find some similar existing work such as exscript and trigger, however I was stuck in the following two problems :
> 
> 
> 1. telneting to a non-default port number (other than 23)
> 2. handling of customized banner messages.
> 
> 
> can you give some hints on this ?  Thanks in advance for your input.
> 
> 
> Frank

Hi Frank, 

It's been a year since you asked, even so i wanted to answer. I faced the same problem and write down a telnet class to overcome such problems. I did not choose using pexpect as it does not work on windows (or really hard), and catch "hostname+line_break" to get the data everytime a command is executed on the router. You might have a look at http://www.networkhints.com/2014/12/automating-telnet-to-ciscojuniperhuawei.html if you wanted to.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web