<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automate Cisco commands from Windows</title>
	<atom:link href="http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows</link>
	<description>Solutions to your Networking and Security questions</description>
	<lastBuildDate>Thu, 12 Jan 2012 22:04:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: shah</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-111688</link>
		<dc:creator>shah</dc:creator>
		<pubDate>Thu, 22 Dec 2011 15:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-111688</guid>
		<description>i am trying to reboot a Call Manager using plink but i am unable to type or send &quot;Yes&quot; to the confirmation question like Do you really want to shutdown ? Enter Yes or NO ?  


Please can anyone help me with this issue .</description>
		<content:encoded><![CDATA[<p>i am trying to reboot a Call Manager using plink but i am unable to type or send &#8220;Yes&#8221; to the confirmation question like Do you really want to shutdown ? Enter Yes or NO ?  </p>
<p>Please can anyone help me with this issue .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-93801</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Fri, 28 Oct 2011 10:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-93801</guid>
		<description>Hi,

I am keen to know that to add multiple IPs and commands in above script.

Regards,
Rakesh.T.H</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am keen to know that to add multiple IPs and commands in above script.</p>
<p>Regards,<br />
Rakesh.T.H</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-91431</link>
		<dc:creator>Tracy</dc:creator>
		<pubDate>Tue, 18 Oct 2011 19:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-91431</guid>
		<description>I&#039;ve had some trouble with some of the above methods of multiple output, but I did work out a little bat file for Cisco devices that works. I have saved Putty sessions configured with my username, ssh, etc, and Plink is in my windows\system32, so in notepad I wrote the below to stay on the screen and display the output of all the commands until I press the spacebar:
***************************************************************
plink -load myputtysavedsessionname -pw mypassword sho log 
plink -load myputtysavedsessionname -pw mypassword sho ver
plink -load myputtysavedsessionname -pw mypassword sho int desc
plink -load myputtysavedsessionname -pw mypassword sho cdp neighbor

pause 5

exit
********************************************************************


The next one below I wrote to output to a .txt or .log file. Note the first line has a single &gt; telling it to create the file or overwrite anything in it. The rest of the lines have 2 &gt;&gt; telling it to add their additional info to the file instead of overwriting it. 

********************************************************************
plink -load nameofsavedputtysession -pw mypassword sho log &gt; c:\switchname.txt
plink -load nameofsavedputtysession -pw mypassword sho int status &gt;&gt; c:\switchname.txt
plink -load nameofsavedputtysession -pw mypassword sho int desc &gt;&gt; c:\switchname.txt
plink -load nameofsavedputtysession -pw mypassword sho ver &gt;&gt; c:\switchname.txt
plink -load nameofsavedputtysession -pw mypassword sho cdp neighbor &gt;&gt; c:\switchname.txt
**********************************************************************

saved notepad as a .bat and away I go. Wow is it fast!

Now if I could just get enable to work...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had some trouble with some of the above methods of multiple output, but I did work out a little bat file for Cisco devices that works. I have saved Putty sessions configured with my username, ssh, etc, and Plink is in my windows\system32, so in notepad I wrote the below to stay on the screen and display the output of all the commands until I press the spacebar:<br />
***************************************************************<br />
plink -load myputtysavedsessionname -pw mypassword sho log<br />
plink -load myputtysavedsessionname -pw mypassword sho ver<br />
plink -load myputtysavedsessionname -pw mypassword sho int desc<br />
plink -load myputtysavedsessionname -pw mypassword sho cdp neighbor</p>
<p>pause 5</p>
<p>exit<br />
********************************************************************</p>
<p>The next one below I wrote to output to a .txt or .log file. Note the first line has a single &gt; telling it to create the file or overwrite anything in it. The rest of the lines have 2 &gt;&gt; telling it to add their additional info to the file instead of overwriting it. </p>
<p>********************************************************************<br />
plink -load nameofsavedputtysession -pw mypassword sho log &gt; c:\switchname.txt<br />
plink -load nameofsavedputtysession -pw mypassword sho int status &gt;&gt; c:\switchname.txt<br />
plink -load nameofsavedputtysession -pw mypassword sho int desc &gt;&gt; c:\switchname.txt<br />
plink -load nameofsavedputtysession -pw mypassword sho ver &gt;&gt; c:\switchname.txt<br />
plink -load nameofsavedputtysession -pw mypassword sho cdp neighbor &gt;&gt; c:\switchname.txt<br />
**********************************************************************</p>
<p>saved notepad as a .bat and away I go. Wow is it fast!</p>
<p>Now if I could just get enable to work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vince</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-83345</link>
		<dc:creator>vince</dc:creator>
		<pubDate>Tue, 04 Oct 2011 22:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-83345</guid>
		<description>give to the user privilege 15. it will logon with enable privileges.</description>
		<content:encoded><![CDATA[<p>give to the user privilege 15. it will logon with enable privileges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajeet</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-82106</link>
		<dc:creator>Ajeet</dc:creator>
		<pubDate>Mon, 03 Oct 2011 09:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-82106</guid>
		<description>Hi,

Thanks for the article. But i have a problem. I did what you said.
But how will i enter the “enable” password in cisco routers ?
Putty connects to router. Reads the script file. But it stucks in enable pass stage</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the article. But i have a problem. I did what you said.<br />
But how will i enter the “enable” password in cisco routers ?<br />
Putty connects to router. Reads the script file. But it stucks in enable pass stage</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanos</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-76782</link>
		<dc:creator>Thanos</dc:creator>
		<pubDate>Tue, 27 Sep 2011 02:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-76782</guid>
		<description>i&#039;m having issues now with plink connecting to a cisco C200 server. i can use plink as &quot;plink.exe -ssh admin@10.10.1.1 -pw password&quot; and it connects fine, then i can run &quot;show version&quot; then &quot;exit&quot; and it all nice and happy :).

but then if try to issue :

plink.exe -ssh admin@10.10.1.1 -pw password -m cmd.bat

or

plink.exe -ssh admin@10.10.1.1 -pw password &lt; cmd.bat

or

plink.exe -ssh admin@10.10.1.1 -pw password show version

i get the error: &quot;no entry for terminal type &quot;dumb&quot;; using dumb terminal setting&quot;

any ideas anyone ??</description>
		<content:encoded><![CDATA[<p>i&#8217;m having issues now with plink connecting to a cisco C200 server. i can use plink as &#8220;plink.exe -ssh <a href="mailto:admin@10.10">admin@10.10</a>.1.1 -pw password&#8221; and it connects fine, then i can run &#8220;show version&#8221; then &#8220;exit&#8221; and it all nice and happy <img src='http://www.xpresslearn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>but then if try to issue :</p>
<p>plink.exe -ssh <a href="mailto:admin@10.10">admin@10.10</a>.1.1 -pw password -m cmd.bat</p>
<p>or</p>
<p>plink.exe -ssh <a href="mailto:admin@10.10">admin@10.10</a>.1.1 -pw password &lt; cmd.bat</p>
<p>or</p>
<p>plink.exe -ssh <a href="mailto:admin@10.10">admin@10.10</a>.1.1 -pw password show version</p>
<p>i get the error: &quot;no entry for terminal type &quot;dumb&quot;; using dumb terminal setting&quot;</p>
<p>any ideas anyone ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-66768</link>
		<dc:creator>Anish</dc:creator>
		<pubDate>Fri, 02 Sep 2011 19:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-66768</guid>
		<description>Dear all,

I enabled ssh ver2 in one of my remote router.I can access from putty.exe.But other person who is in another area cannot able to access.Previously he was acessed via telnet. 

Now my question is shall we access the router(sshver-2) from the router which having sshver-1.5. Please send mail to my id: network428@gmail.com</description>
		<content:encoded><![CDATA[<p>Dear all,</p>
<p>I enabled ssh ver2 in one of my remote router.I can access from putty.exe.But other person who is in another area cannot able to access.Previously he was acessed via telnet. </p>
<p>Now my question is shall we access the router(sshver-2) from the router which having sshver-1.5. Please send mail to my id: <a href="mailto:network428@gmail.com">network428@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronnie</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-59779</link>
		<dc:creator>Ronnie</dc:creator>
		<pubDate>Wed, 03 Aug 2011 17:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-59779</guid>
		<description>hi there, tried your command using the latest build of plink.exe

plink -ssh userid@192.168.1.1 -pw myPasswd “show version ; users”  with space in between the semi-colon.

Only the first command runs and the rest is ignored for some reason?!  Please help thanks!</description>
		<content:encoded><![CDATA[<p>hi there, tried your command using the latest build of plink.exe</p>
<p>plink -ssh <a href="mailto:userid@192.168">userid@192.168</a>.1.1 -pw myPasswd “show version ; users”  with space in between the semi-colon.</p>
<p>Only the first command runs and the rest is ignored for some reason?!  Please help thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-59743</link>
		<dc:creator>George</dc:creator>
		<pubDate>Wed, 03 Aug 2011 10:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-59743</guid>
		<description>Hey guys!

How can I sent keyboard characters (letters, numbers) to a CISCO Switch? I managed connecting via SSH, but then when the switch responds, it actually expects me to input first User and Password, then Menu Choices.... What I actually want to do is run a script that can disable a given Ethernet port...are there some commands that can be used, or only via Menu?

Regards,
George</description>
		<content:encoded><![CDATA[<p>Hey guys!</p>
<p>How can I sent keyboard characters (letters, numbers) to a CISCO Switch? I managed connecting via SSH, but then when the switch responds, it actually expects me to input first User and Password, then Menu Choices&#8230;. What I actually want to do is run a script that can disable a given Ethernet port&#8230;are there some commands that can be used, or only via Menu?</p>
<p>Regards,<br />
George</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Pilkinton</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/comment-page-1#comment-58965</link>
		<dc:creator>Scott Pilkinton</dc:creator>
		<pubDate>Fri, 29 Jul 2011 21:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150#comment-58965</guid>
		<description>Thanos,

Thanks for the follow up - good info for others with the same issue!

Scott</description>
		<content:encoded><![CDATA[<p>Thanos,</p>
<p>Thanks for the follow up &#8211; good info for others with the same issue!</p>
<p>Scott</p>
]]></content:encoded>
	</item>
</channel>
</rss>

