-
Not sure if this will help, but I wrote a script that was heavily tested using N::T::C a few years ago, you can find it here:
http://www.gdd.net/index.php/Execute_commands_on_a_router/switch_using_Telnet_(Perl)
If you need something beyond that, I highly suggest checking out the commercial software package formerly known as Opsware Network Automation System, now known as HP Network...
2009-06-11 17:16:26 UTC in Net::Telnet::Cisco
-
Is the TCL script already stored on the router and you just need to execute it?
#!/usr/bin/perl
use strict;
use warnings;
use Net::Telnet::Cisco;
my @routers = `cat routerlist.txt`;
foreach my $router (@routers) {
chomp($router);
my $session = Net::Telnet::Cisco->new(Host => $router, Port =>"2046");
$session->login('','test');...
2009-05-15 17:43:40 UTC in Net::Telnet::Cisco
-
There is an error in the script I posted on nms.gdd.net, the line where it references $device_settings just remove that and change it to "60" or something.
I'll fix the code on the wiki too.
2007-03-11 02:01:13 UTC in Net::Telnet::Cisco
-
I'm not sure what your problem is, but from the code you pasted I see one obvious error, which I think wouldn't even allow your code to run so maybe you made it by accident when constructing this message, but you have $session-print when it should be $session->print.
Rather than helping you fix your code, I'd like to point you at a script I wrote a year or two ago that either you can use...
2007-03-10 03:36:36 UTC in Net::Telnet::Cisco
-
I have a script on the NMS Wiki that is a little more robust than the one you've got, and has the same features. The website seems to be down right now, but check back later.
http://nms.gdd.net.
2006-11-10 00:18:44 UTC in Net::Telnet::Cisco
-
I'm not sure if this is the right place for this
request, since it hasn't really been very well thought
out, but I'll throw it out here anyways.
I am not a .NET developer, nor do I claim to know much
about VS.NET, but I noticed other .NET developers using
a feature in VS.NET that I thought was very powerful;
DataTips and DataVisualizers.
The link at the bottom explains this...
2006-10-29 08:14:18 UTC in Pydev for Eclipse
-
Your best bet is to abandon Net::Telnet::Cisco and use 'rancid'. N::T::C hasn't been maintained in years and the developer is MIA. I have heard of a few people on this forum that have been trying to get SSH to work but I've yet to see any proof, and I've been using this for almost 2 years now.
http://www.shrubbery.net/rancid/.
2006-08-26 04:02:24 UTC in Net::Telnet::Cisco
-
( 2006-07-13 09:23:52 - Project CVS Service, Project Shell Service, Project Subversion (SVN) Service, SourceForge.net Web Site ) A recent kernel exploit was released that allowed a non admin user to escalate privileges on the host pr-shell1. We urge all users who frequent this host to change their password immediately and check their project group space for any tampering. As a precaution, we...
2006-07-13 19:09:22 UTC in Fruity : A Nagios Configuration Tool
-
mfreeman451 committed patchset 96 of module rackview to the rackview CVS repository, changing 1 files.
2005-11-25 18:31:35 UTC in rackview
-
mfreeman451 committed patchset 95 of module rackview to the rackview CVS repository, changing 5 files.
2005-11-25 18:13:30 UTC in rackview