in reply to Help: Net::Telnet::Cisco

I suspect you could use the "cmd" method and just send "\n"

Have a look at Cisco Router Action Performing Perl Script. No use re-inventing the wheel.

Replies are listed 'Best First'.
Re^2: Help: Net::Telnet::Cisco
by rrboloor (Initiate) on Apr 14, 2009 at 09:17 UTC
    I was facing the similar problem. I solved this by sending a wakeup with "\r" character and it worked for me.
    I would like you to check following code
    my $session = Net::Telnet::Cisco->new (Host=>$ipaddr,Port=>$port,Timeo +ut=>20); $session->print("\r"); # required to wakeup. $session->print("\r")
      The "print("\r") doesn't work going through a cisco 2600 router as a terminal server.