in reply to Re^3: Can't get data from cisco router/switch when telnetting in via perl script.
in thread Can't get data from cisco router/switch when telnetting in via perl script.

I just wanted to add: the default prompt (in the documentation for Net::Telnet) is /[\$%#>] $/ (which probably doesn't match a typical IOS prompt).

Note that there also exists a Net::Telnet::Cisco module if you don't want to go to the (relatively simple) trouble of configuring your own prompt regexp.

  • Comment on Re^4: Can't get data from cisco router/switch when telnetting in via perl script.
  • Download Code