in reply to Telneting to a 2511 Access Server Device on line 2005
Net::Telnet is not the command line, you can't specify the port with a space just because it works from the shell...
my $telnet = Net::Telnet::Cisco->new( Host => '1.2.3.4', Port => 2005, Timeout => 2, Errmode => 'die', );
Which is, of course, how the documentation would have told you to do it.
| We're not surrounded, we're in a target-rich environment! |
|---|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |