|
I've had similar problems with Python. I opened a case with Cisco's TAC. They created a Perl script for me. I was able to get it working. Here it is:
#!/usr/bin/perl
use Net::Appliance::Session;
my $s = Net::Appliance::Session->new(
Host => '10.100.3.254',
Transport => 'SSH',
);
$s->connect(
Name => 'cworks', Password => 'Activ8'
);
print $s->cmd('show dialer | i :');
print "*********************\n**********************\n";
print $s->cmd('show ISDN stat | i ACTIV');
print "*********************\n**********************\n";
print $s->cmd('show ip eigrp nei');
$s->close;
Maybe it will help you.
|