Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82307
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-12-10 12:07 -0800 |
| References | <mailman.4321.1387336289.18130.python-list@python.org> |
| Message-ID | <8a2986be-765f-490c-8dc2-f573759cfb03@googlegroups.com> (permalink) |
| Subject | Re: seeking a framework to automate router configurations |
| From | ercintorun@gmail.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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: seeking a framework to automate router configurations ercintorun@gmail.com - 2014-12-10 12:07 -0800
csiph-web