Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Net::Telnet::Cisco;
    ...
        $Telnet->login(Name => 'rschuman', Password => 'tagheuer1') or die
    + "Cannot log into device '$_': $!\n";
        print $log "$_\n", map $Telnet->cmd($_), 'show line aux 0';    
    }
    
  2. or download this
    use strict;
    use Net::Telnet::Cisco;
    ...
    
    close LOGFILE;
    close SEEDFILE;