Skip to main content

help for a program!

More
20 years 5 months ago #4119 by YuJi
help for a program! was created by YuJi
hi everyone,
i'm new in network and new in firewall.cx
this is extremly helpful site, but i'm sorry that i learnt it late! :(
Anyway,
my problem is:
i want to write a program that automates some routine tasks => connects to the routers (~200 router)
and gets 'show arp' outputs to a text file. routers are cisco 800 series routers.
i think my only option is to connect with using telnet protocol??
i have knowledge about c/c++ and java.
how can i write this program or how/where can i find useful info? :oops:
pls ask for any needed clarification
Thanks.
More
20 years 5 months ago #4121 by TheBishop
Replied by TheBishop on topic Program
A colleague of mine has done something similar using Perl to write a script. The script opens a telnet session to the router, logs in, executes a command, gets the output and logs the value. It does this regularly at intervals. Perl is good for this sort of thing because there are lots of modules available on the net that do most of the work for you. You just write a script and call them as needed. Check out www.perl.com and www.cpan.org for more info
More
20 years 5 months ago #4122 by YuJi
Replied by YuJi on topic Re: help for a program!
thanks for yoour immediate answer.
yes, my search results also show that best is perl. Also
i find that there is a module for especially cisco :shock:
such as: NET::Telnet::Cisco
this is great.
thanks again!
Time to create page: 0.135 seconds