Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: help for a program!

help for a program! 12 years 5 months ago #4119

  • YuJi
  • YuJi's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
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.
The administrator has disabled public write access.

Program 12 years 5 months ago #4121

  • TheBishop
  • TheBishop's Avatar
  • Offline
  • Moderator
  • Posts: 1719
  • Thank you received: 8
  • Karma: 5
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
The administrator has disabled public write access.

Re: help for a program! 12 years 5 months ago #4122

  • YuJi
  • YuJi's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
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!
The administrator has disabled public write access.
Time to create page: 0.075 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup