This works fine. I am authenticated and the output of the arp table is displayed.
Now, I would like to do the same to connect to a cisco switch using the following command:
plink -telnet -m testconsw.txt 10.1.1.10
The contents of testconsw.txt are;
sh ip arp
However, I am prompted for the telnet password at the command line. It appears that the plink command is unable to read the file. What do I have to do to get plink to read the file interactively to logon and issue the commands?
Re: Using plink to connect to pix works (ssh), to switch doesn't
Well, I figured it out. Apparently, telnet can only read from the command line, not from a text file. So, I switched to the python programming language because it has a telnetlibrary and used the following script: telnet.py. I ran this script from a command line. The script logs on interactively and then prints out the arp table of the switch.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...