Good luck$session->waitfor('/password:/'); #change to what the cisco prompts $session->print("password"); $session->waitfor('/router>/'); #change to "hostname"> $session->print("login"); $session->waitfor('/username:/'); $session->print("user"); #change to username $session->waitfor('/password:/'); $session->print("pass"); #change to password $session->waitfor('/router#/'); #change to "hostname"> or # $session->print("enablepass"); #change to enable password $session->waitfor('/router#/'); #change to "hostname"# #you shouldn't have to enable if your user has high enough privilege.
In reply to Re: Net::Telnet::Cisco Login Problem
by skaba9
in thread Net::Telnet::Cisco Login Problem
by bcwhyte
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |