I'm trying to work with Cisco hardware.
Simple script read the config:
Code:
#!/usr/bin/perl use strict; use warnings; use Net::Telnet; my $t; my $host = "megahw"; my $username = "megauser"; my $passwd = "megapassword"; my @lines = (); my $fh; my $fn = "/var/tmp/t.log";
Leave a comment: