in reply to Command Timeout for Net::Appliance::Session

You can pass it to the cmd method 'Timeout' => xxx, 'command'

Replies are listed 'Best First'.
Re^2: Command Timeout for Net::Appliance::Session
by josh803316 (Beadle) on Jul 22, 2010 at 16:32 UTC
    Thank you so much for the guidance. I was able to get it working with the options like this:
    $session->cmd( Timeout => 1000, String => 'String');
      How are you making the input_log work?
      my $s = Net::Appliance::Session->new({ personality => 'ios', transport => 'SSH', Input_log => 'input.log', Timeout => 15, host => $ip, });
      I get nothing from the log
        Enable debug:
        $session->set_global_log_at('debug');
        with the new version you have to $s->set_global_log_at('notice');