cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
592
Views
0
Helpful
2
Replies

Network Programing

dangal.43
Level 1
Level 1

Which programing Language is used in IOS?

I want to learn some network programing so which language will be good for the programing for networking technology JAVA, C,C++, Perl?

and what is Tcl?

2 Replies 2

nikolasgeyer
Level 1
Level 1

Hi,

IOS doesnt use a programming language as such. To configure IOS on a router/switch, most people use the CLI (command line interface) which is command driven (you issue commands, and it does it) or via the web GUI. About the closest I would imagine you would come to doing actual "programming" within IOS, would be the use of the inbuilt TCL interpreter or using regular expressions.

As for what language IOS is programmed in, I believe this is usually a closely guarded secret of Cisco's.

As for network programming in general, you have people that develop the applications that run over networks (e.g. web servers, ftp servers etc and usually in C/C++), or on another train I have heard network programming used in reference to the tools that assist in the day to day functionality of networks (e.g. traffic statistics generation etc). I have noticed that Perl is used for quite alot of these applications.

Cisco have some documentation on the TCL implementation within IOS and its API, which you can find at http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00801a75a7.html

Hope this helps, and if so please remember to rate posts.

Jon Marshall
Hall of Fame
Hall of Fame

Hi

Depends in large part on what you are trying to achieve.

Perl & TCL are scripting lanuguages. They lend themselves to rapid development and deployment. Perl has a plethora of modules that you can download and use so for example if you wanted to write a program that logged into all your switches/routers to do something you could use perl's Net::Telnet::Cisco a module specifically for accessing Cisco routers/switches.

You can also find tcl scripts that people have released that do a lot of the programming for you so you can concentrate on your specific task. You can also add Python, another commonly used scripting language, to this list.

C & C++ are compiled lanuguages. They do not lend themselves to such rapid development and deployment and generally speaking the learning curve is a lot steeper. If you are serioulsy considering writing a full blown network application then you might want to look at one of these but it can be a long road.

Java is kind of a halfway house between the 2 but it is probably closer to the compiled languages.

IOS is probably programmed in C/C++ but it doesn't really matter as such as you won't be coding into this.

If your'e primary responsibility is networking and you want to look into programming to automate some fo your tasks then i would say concnetrate on the scripting languages.

If you are looking to become a full time developer of network applications Java/C++ is the way to go.

HTH

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card