473,394 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Can Cisco Router be configured through scripting?

I have to configure Cisco Router and get their sh-run on my PC using python. Is this possible?

Do cisco routers provide provision of accessing them through scripting?
Dec 17 '07 #1
3 4317
oler1s
671 Expert 512MB
Request to Mod: Merge this thread with OP’s previous thread (same question): http://www.thescripts.com/forum/thread748714.html. It was started very recently, and there is no reason to start a second line of discussion.

Aside to OP: Don’t start multiple threads when the question is the same. It’s like spamming.

Now, to your actual question. You seemed to have misunderstood my reply in the previous thread. I wasn’t criticizing your question. I was telling you how to approach your problem. I know nothing about your routers at hand. I don’t know what your router provides you. You can telnet to it? Great. Anything else? Did they provide any libraries of code for you to use? We don’t know that. It’s something only you can find out. If you don’t know, maybe you should call up Cisco and ask for support on the issue.

If Cisco provides certain libraries of code to be used in conjuction with your router, then you should use those libraries, in whatever language they are to be used in. No idea if it would be Python.

Python has modules for working with the telnet protocol. You could replicate with Python, whatever steps a human being would do to configure your routers.
Dec 17 '07 #2
Sorry for complicating my question....Now, simply what I have to do is Telnet a device(which is router) in this case and make a session in which i can run commands
Dec 23 '07 #3
oler1s
671 Expert 512MB
Python has modules that support the telnet protocol. Did you look into them? You could have found about them with a Google search on "Python" and "telnet".
Dec 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: David | last post by:
I am having an issue with Visual Studio .net and consuming WEB services. When I attempt to write a program to consume the service, I get the message "The proxy settings on this computer are not...
0
by: Tim Thulin | last post by:
I am using Visual Basic 2005 and trying to discover a Cisco router/catalyst using SNMP. Does anyone have a good sample to start from and also what references should I be using with 2005? Thank...
1
by: wcl152010 | last post by:
Hi, I have a general doubt here regarding of monitoring different model of CISCO Switches and Routers. I am new in SNMP, I tried to search for CISCO related mib file in the net and i got at...
3
by: bossingdarwin | last post by:
Hi Guys, I'm new to Perl and to this forum and I hope you gurus here help me. I am building a perl script that will telnet to one of my cisco router and execute commands. I was able to do this...
0
by: bsdixon21222 | last post by:
Hello All, I havn't been programming with python too long, but decided the best way to learn it would be to dive right in. Right now I have been taking snippets here and there along with...
0
by: deviao | last post by:
Hello all. I am just about to start learning Python as a friend reccomended it as a very useful and flexible language. I was just wondering if Python has the ability to connect to a Cisco...
4
by: SPJ | last post by:
Is it possible to run specific commands on cisco router using Python? I have to run command "show access-list" on few hundred cisco routers and get the dump into a file. Please let me know if it is...
3
by: raamay | last post by:
Its my first time configuring DI-524 AirPlus G 2.4GHz Wireless Router. Infact the router is already configured but it is not secured. So i just wanted to make the network secure for which i didnt...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.