vasanth.easyrider has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Monks
I have a requirement where i connect to remote system using Net::Telnet and execute a command and capture the output.
When i manually login to device and execute the command, the output is as follows
xe-1/2/3.5784 up up aenet --> ae4.5784
ae4.5784 up down inet 182.75.123.121/30
but when i run the command using Net::Telnet only the following output is getting captured -
xe-1/2/3.5784 up up aenet --
so the ">" character in the output is causing the issue i think.
can you help me on how to solve this
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Telnet output not captured
by Corion (Patriarch) on Mar 13, 2018 at 11:49 UTC | |
|
Re: Telnet output not captured
by thanos1983 (Parson) on Mar 13, 2018 at 12:23 UTC |