<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6526143394596453278</id><updated>2012-02-13T08:40:13.409+05:30</updated><category term='Wireless Security'/><category term='TCL'/><title type='text'>Extreme Networking</title><subtitle type='html'>This blog provides tech stuff on networking.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sridhar</name><uri>http://www.blogger.com/profile/03881065648779943380</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6526143394596453278.post-118613146619630232</id><published>2009-04-01T20:45:00.004+05:30</published><updated>2009-04-01T20:58:00.089+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wireless Security'/><title type='text'>AD Group Mapping Across Different Domain Forest using ACS-AD</title><content type='html'>When U have the Different Domain Forest and ur implementing Wireless across it and wants to bind SSIDs to respected Domains following points needs to be taken care off&lt;br /&gt;1) Two way trust needs to be form between All Domain&lt;br /&gt;2) Windows Remote Agent needs to be install on One of the Member Server Machine of any of the Domains&lt;br /&gt;3) If there is the Firewall between Domains following ports needs to be open&lt;br /&gt;   Here is the port list for Active Directory communication: &lt;br /&gt;   TCP Ports:  88, 135, 136, 139, 389, 445, 1025, 1026 &lt;br /&gt;   UDP Ports:  88, 123, 137, 389  ICMP&lt;br /&gt;4) Link for what needs to be configured on Member Server  Machine on which Windows Remote Agent install&lt;br /&gt;&lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_solution_engine/4.2/installation/guide/remote_agent/rawi.html#wp299851" target="_blank"&gt;http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_solution_engine/4.2/installation/guide/remote_agent/rawi.html#wp299851&lt;/a&gt;&lt;br /&gt;5) Member Server on which Remote Agent is install should login with user have Domain Admin Priviledge&lt;br /&gt;6) See the &lt;strong&gt;Restrict WLAN Access based on SSID with WLC and Cisco Secure ACS Configuration&lt;/strong&gt; Link for configuration&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a00807669af.shtml"&gt;http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a00807669af.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6526143394596453278-118613146619630232?l=networkingvibes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/118613146619630232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6526143394596453278&amp;postID=118613146619630232' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/118613146619630232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/118613146619630232'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/2009/04/ad-group-mapping-across-different.html' title='AD Group Mapping Across Different Domain Forest using ACS-AD'/><author><name>Sachin G</name><uri>http://www.blogger.com/profile/14122132675891043179</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6526143394596453278.post-9012377860189023393</id><published>2009-03-21T22:09:00.003+05:30</published><updated>2009-03-21T22:15:26.925+05:30</updated><title type='text'>802.11n Supporting  Setting on Wireless LAN Controller</title><content type='html'>802.11n is activated on Cisco WLC or WiSM only when WPA2 setting is selected , if you select WPA+WPA2 setting then you can get only 802.11a/b/g , though your Access Point support 802.11n (example Cisco Access Point 1252)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By Sachin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6526143394596453278-9012377860189023393?l=networkingvibes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/9012377860189023393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6526143394596453278&amp;postID=9012377860189023393' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/9012377860189023393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/9012377860189023393'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/2009/03/80211n-supporting-setting-on-wireless.html' title='802.11n Supporting  Setting on Wireless LAN Controller'/><author><name>Sachin G</name><uri>http://www.blogger.com/profile/14122132675891043179</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6526143394596453278.post-5177153328328338952</id><published>2007-08-17T16:06:00.001+05:30</published><updated>2008-12-17T17:57:41.469+05:30</updated><title type='text'>PIX URL filtering</title><content type='html'>&lt;span style="font-family:verdana;"&gt;PIX/ASA are capable of doing advanced protocol inspection and this applies to all popular protocols in the world. In this post, I am giving an example of URL filtering using advanced http inspection with the use of regular expressions.&lt;br /&gt;&lt;br /&gt;Though ASA has an option of CSC module to do the same, there is no provision for creating multiple profiles for different set of users. The only difference between the ASA/PIX method and the CSC method (As far as the HTTP functionality goes) is the blocking of websites based on site content classifications which are updated regularly from the internet &amp;amp; custom message that CSC module can throw to the user when it blocks the website.&lt;br /&gt;&lt;br /&gt;Below is an example wherein all users in the 'INSIDE' network should be able to access only 'GOOGLE' and all its services but not any other website. (Please note that it can be done vice-versa, i.e., by blocking certain websites and allowing all others.&lt;br /&gt;*************************************&lt;br /&gt;regex allow_google ".*google.*"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;class-map inside &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;match any&lt;br /&gt;&lt;br /&gt;class-map type inspect http match-all url_filter&lt;br /&gt;match not request header host regex allow_google&lt;br /&gt;&lt;br /&gt;policy-map type inspect http url_filter&lt;br /&gt;parameters&lt;br /&gt;class url_filter&lt;br /&gt;drop-connection log&lt;br /&gt;&lt;br /&gt;policy-map inside&lt;br /&gt;class inside&lt;br /&gt;inspect http url_filter&lt;br /&gt;&lt;br /&gt;service-policy inside interface inside&lt;br /&gt;************************************&lt;br /&gt;&lt;br /&gt;I feel it should be possible to port snort rules into PIX/ASA using regular expressions. Probably, the next post may have an example.&lt;br /&gt;&lt;br /&gt;happy tweaking....&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6526143394596453278-5177153328328338952?l=networkingvibes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/5177153328328338952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6526143394596453278&amp;postID=5177153328328338952' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/5177153328328338952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/5177153328328338952'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/2007/08/pixasa-url-filtering-without-using-csc.html' title='PIX URL filtering'/><author><name>Sridhar</name><uri>http://www.blogger.com/profile/03881065648779943380</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6526143394596453278.post-4059822201314501205</id><published>2007-05-30T21:23:00.000+05:30</published><updated>2007-05-30T22:35:08.613+05:30</updated><title type='text'>Issues with RSTP Interoperability and Backward Compatibility</title><content type='html'>&lt;font size="2"&gt;&lt;font face="verdana"&gt;&lt;/font&gt;&lt;font face="verdana"&gt;As per Cisco RSTP is backward compatible with STP 802.1D. All the documents in Cisco specify that a RSTP enabled port will go STP when connected to an STP enabled network.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font face="verdana"&gt;In most cases this is true. In most cases RSTP is backward compatible with STP.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: verdana;" href="http://www.cisco.com/univercd/cc/td/doc/product/metro/me3400/12225seg/3400scg/swstp.htm#wp1166519"&gt;http://www.cisco.com/univercd/cc/td/doc/product/metro/me3400/12225seg/3400scg/swstp.htm#wp1166519&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;font face="verdana"&gt;But there is a rider to this generalized statement. &lt;/font&gt;&lt;font face="verdana"&gt;RSTP is a lot more faster than STP. The typical convergence time of RSTP is less than &lt;3secs while that of STP is about 50 seconds assuming that no proprietary cisco enhancements are used.&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold; color: rgb(51, 51, 255);" face="verdana"&gt;The rider is, RSTP and STP work perfectly together only IF RSTP is used in the core while STP is used in access-layers. Any other combination of RSTP-STP would be a disaster. IF done any other way,  a STP loop would be induced into the network.&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;font face="verdana"&gt;The above link gives a recommendation.. I quote&lt;/font&gt;&lt;br /&gt;&lt;font face="verdana"&gt;"&lt;font style="font-style: italic;"&gt;When a network contains switches running rapid PVST+ and switches running PVST+, we recommend that the rapid-PVST+ switches and PVST+ switches be configured for different spanning-tree instances.&lt;/font&gt;"&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;font face="verdana"&gt;I have faced problems personally in RSTP-STP interoperability.&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;font face="verdana"&gt;If there is need to convert a network from STP to RSTP, I would suggest that the Core is first converted to RSTP.. then the distribution and then the access. (Although this methodology is not entirely tested).&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6526143394596453278-4059822201314501205?l=networkingvibes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/4059822201314501205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6526143394596453278&amp;postID=4059822201314501205' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/4059822201314501205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/4059822201314501205'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/2007/05/issues-with-rstp-interoperability-and.html' title='Issues with RSTP Interoperability and Backward Compatibility'/><author><name>.</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6526143394596453278.post-7607768878342057001</id><published>2007-05-07T18:44:00.000+05:30</published><updated>2007-05-30T21:50:54.384+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='TCL'/><title type='text'>TCL Snippet for Cisco Routers</title><content type='html'>&lt;font style="" face="verdana" size="3"&gt;&lt;font&gt;&lt;font size="2"&gt;You might come across a situation where you might have to configure etherchannel across multiple card modules of a Cisco 6500 Switch. Manually configuring a large number of port pairs across multiple card modules could be very time consuming and monotonous.&lt;br /&gt;&lt;br /&gt;Well, here comes the solution with the help of tcl interpreter built within Cisco IOS (select models only).&lt;br /&gt;&lt;br /&gt;Following is an example wherein the ports of 48-port 10/100 ethernet modules in slot 2 and 3 are configured for etherchannel.&lt;br /&gt;&lt;br /&gt;Traditional Method&lt;br /&gt;&lt;br /&gt;configure terminal&lt;br /&gt;interface fastethernet 2/1&lt;br /&gt;channel-group 1 mode on&lt;br /&gt;interface fastethernet 3/1&lt;br /&gt;channel-group 1 mode on&lt;br /&gt;interface fastethernet 2/2&lt;br /&gt;channel-group 2 mode on&lt;br /&gt;interface fastethernet 3/2&lt;br /&gt;channel-group 2 mode on&lt;br /&gt;...and so on.&lt;br /&gt;&lt;br /&gt;Smart Method using TCL&lt;br /&gt;&lt;br /&gt;tclsh&lt;br /&gt;set i 1;&lt;br /&gt;while {$i &lt; 49} {&lt;br /&gt;ios_config "interface fastethernet 2/$i" "channel-group $i mode on"&lt;br /&gt;ios_config "interface fastethernet 3/$i" "channel-group $i mode on"&lt;br /&gt;incr i;&lt;br /&gt;}  &lt;br /&gt;&lt;br /&gt;Hope this helps. Suggestions and Feedback, welcome.  Will come up with more in the future, so watch this space.&lt;br /&gt;Sridhar.&lt;/font&gt;  &lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;font face="verdana"&gt;&lt;font face="verdana"&gt;&lt;/font&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6526143394596453278-7607768878342057001?l=networkingvibes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/7607768878342057001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6526143394596453278&amp;postID=7607768878342057001' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/7607768878342057001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/7607768878342057001'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/2007/05/tcl-snippets-for-cisco-routers.html' title='TCL Snippet for Cisco Routers'/><author><name>Sridhar</name><uri>http://www.blogger.com/profile/03881065648779943380</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6526143394596453278.post-306764044637828279</id><published>2007-05-07T00:58:00.000+05:30</published><updated>2007-05-30T21:52:14.528+05:30</updated><title type='text'>Power of Tera Term</title><content type='html'>&lt;font style="" face="verdana" size="2"&gt;Tera Term is easily one of the most powerful free Terminal Emulation Software that I have come across and the power of it lies in its scripting language TTL. Of-course, it is not as extensive and capability rich as Perl but for a non-programmer, a browse through a single help file on TTL language is all it takes to create wonderful scripts that could make his/her life easier in maintaining huge networks.&lt;br /&gt;&lt;br /&gt;The capabilities are limitless and if you could find better ways of enhancing the following script, please come forward and do your bit.&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;The purpose of the script is for terminal configuration of repetitive commands in multiple terminal enabled devices at once but sequentially without human intervention.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;The other purpose of the script is to fetch terminal information from multiple terminal enabled devices at once but sequentially without human intervention.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;The script is primarily designed for working with Cisco devices which can be configured using terminal emulation and which has a Command Line Interface (&lt;/font&gt;&lt;font size="2"&gt;&lt;st1:stockticker&gt;&lt;font face="Verdana"&gt;CLI&lt;/font&gt;&lt;/st1:stockticker&gt;&lt;/font&gt;&lt;font style="" face="Verdana" size="2"&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;The execution of the script requires Tera Term Software installed on the user’s computer. The Tera Term software can be downloaded from the following URL:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;&lt;a href="http://hp.vector.co.jp/authors/VA002416/teraterm.html"&gt;http://hp.vector.co.jp/authors/VA002416/teraterm.html&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;The Procedure for execution of the script is as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Download Tera Term from the above mentioned URL.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Unzip and downloaded file and execute the Setup.exe file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Install the Software in a specified destination.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Copy the below provided script in the Tera Term directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;The script has an extension of .TTL and can be opened in notepad.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Open the file in notepad and change the variable ‘dirname’ in the script to reflect your Tera Term Directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Make two Text Files in the directory specified by the variable ‘dirname’ by the following names:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;ip.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;commands.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Make sure you have telnet access to all the devices you would like to configure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Open the ip.txt file and enter the IP addresses of all the devices for which the configuration needs to be fetched or pushed. Place only one IP address per line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Open the commands.txt file and enter the commands for configuration or commands for fetching configuration from the devices. Please note that the commands need to be compatible on all the devices entered in the ip.txt file. Please put in the commands in sequential order as you would configure the device in the normal circumstances. For eg:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;terminal length 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;show running-config&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;config t&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;enable secret cisco&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;terminal length 24&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;write memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Please place the commands that are required after authentication is done. The script expects a device prompt (which can be customized easily) by default after authentication. You may change it at any point of time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Execute the file ttpmacro.exe present in the Tera Term directory and select the macro '.ttl’ extension.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Please enter the Username for logging into the devices and press OK. Please note the Username and Password prompt would appear only once. The same username and password would be used to login into all the devices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Please enter the password in the Password Prompt Dialog Box and press OK.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;For Enable Password Authentication Prompt, click yes if you have enable password authentication configured in atleast some of the devices or click no if you don’t have enable password configured in any of the devices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;If yes, then provide the enable password to log into all the devices. The password is assumed to be common on all the devices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;For the Logging Dialog Box. Click yes if you want to log the output or click no if you don’t want to log the output.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;If yes, enter the directory in which the logs have to be placed. For eg: If the directory is ‘C:\logs’ then enter it in the following format:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal" style="margin-left: 79.5pt; text-indent: -0.25in;"&gt;&lt;font style="" face="Verdana" size="2"&gt;c:\logs\&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Please note that the ‘\’ sign is important after you enter the directory path and name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font style="" face="Verdana" size="2"&gt;Sit back and relax, as the commands entered in the commands.txt file is executed in every device entered in ip.txt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;P.S.: While fetching configuration from any device like that of Cisco, please make sure to keep the terminal length to zero so that the device prompt appears immediately after the execution of the command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font style="" face="Verdana" size="2"&gt;Please give your feedbacks to make it better.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font face="verdana"&gt;&lt;br /&gt;&lt;br /&gt;Below is the script for use with Tera Term. Just copy &amp; paste the below code in a notepad and save it with a TTL extension.&lt;br /&gt;&lt;br /&gt;;#######################################################&lt;br /&gt;;Version 3.2 (Untested Beta Version)&lt;br /&gt;;Created on 25/03/2007&lt;br /&gt;;For Tera Term Macro Use Only&lt;br /&gt;;Created originally for Cisco Switch &amp; Routers.&lt;br /&gt;;Customizable script, please feel free to edit it.(In fact you have to edit it)&lt;br /&gt;;For usage, execute ttpmacro.exe and select this script&lt;br /&gt;;Write all the ip addresses in sequential order in a file by the name of 'ip.txt'&lt;br /&gt;;Write all the commands in sequential order in a file by the name of 'commands.txt'&lt;br /&gt;;and place the text files in the directory as set by the 'setdir' keyword.&lt;br /&gt;;Complaints and suggestions for improvement welcome.&lt;br /&gt;;Please feel free to take it to the next level and share it with others.&lt;br /&gt;;#######################################################&lt;br /&gt;&lt;br /&gt;;######################################################&lt;br /&gt;;Main Script&lt;br /&gt;;######################################################&lt;br /&gt;&lt;br /&gt;timeout = 5&lt;br /&gt;dirname = 'E:\Program Files\TTERMPRO313'&lt;br /&gt;setdir dirname&lt;br /&gt;fileopen addressfile 'ip.txt' 0&lt;br /&gt;inputbox 'Username:' 'Username Prompt'&lt;br /&gt;Username = inputstr&lt;br /&gt;passwordbox 'Password:' 'Password Prompt'&lt;br /&gt;Password = inputstr&lt;br /&gt;yesnobox 'Is enable password authentication required?' 'Enable Password Question'&lt;br /&gt;if result=0 then&lt;br /&gt;goto jumper1&lt;br /&gt;endif&lt;br /&gt;passwordbox 'Enable Password:' 'Enable Password Prompt'&lt;br /&gt;Enable = inputstr&lt;br /&gt;:jumper1&lt;br /&gt;yesnobox 'Would you like to log the output?' 'Logging'&lt;br /&gt;Logger = result&lt;br /&gt;if Logger = 0 then&lt;br /&gt;goto looper1&lt;br /&gt;endif&lt;br /&gt;inputbox 'Directory path &amp; name followed by \' 'Logging Directory'&lt;br /&gt;loggerpath = inputstr&lt;br /&gt;dirmaker = 'cmd /C md '&lt;br /&gt;strconcat dirmaker loggerpath&lt;br /&gt;exec dirmaker&lt;br /&gt;&lt;br /&gt;:looper1&lt;br /&gt;filereadln addressfile ip&lt;br /&gt;connect ip&lt;br /&gt;if result = 1 then&lt;br /&gt;goto fclose1&lt;br /&gt;endif&lt;br /&gt;wait 'Username:' 'Password:' '&gt;' 'login:'&lt;br /&gt;if result = 0 then&lt;br /&gt;call terminator&lt;br /&gt;goto looper1&lt;br /&gt;elseif result = 1 then&lt;br /&gt;goto jumper4&lt;br /&gt;elseif result = 2 then&lt;br /&gt;goto jumper5&lt;br /&gt;elseif result = 3 then&lt;br /&gt;goto jumper6&lt;br /&gt;elseif result = 4 then&lt;br /&gt;goto jumper4&lt;br /&gt;endif&lt;br /&gt;:jumper4&lt;br /&gt;sendln Username&lt;br /&gt;wait 'Password:'&lt;br /&gt;:jumper5&lt;br /&gt;sendln Password&lt;br /&gt;if Logger = 0 then&lt;br /&gt;goto jumper2&lt;br /&gt;endif&lt;br /&gt;loggerfile = loggerpath&lt;br /&gt;strconcat loggerfile ip&lt;br /&gt;logopen loggerfile 0 0&lt;br /&gt;loggerfile = ''&lt;br /&gt;:jumper2&lt;br /&gt;wait '#' '&gt;'&lt;br /&gt;if result = 0 then&lt;br /&gt;call terminator&lt;br /&gt;elseif result = 1 then&lt;br /&gt;call commander&lt;br /&gt;call terminator&lt;br /&gt;elseif result = 2 then&lt;br /&gt;:jumper6&lt;br /&gt;call enabler&lt;br /&gt;call commander&lt;br /&gt;call terminator&lt;br /&gt;endif&lt;br /&gt;goto looper1&lt;br /&gt;:fclose1&lt;br /&gt;fileclose addressfile&lt;br /&gt;closett&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;;################################################&lt;br /&gt;;Enabler is a sub-routine which provides enable password authentication.&lt;br /&gt;;################################################&lt;br /&gt;&lt;br /&gt;:enabler&lt;br /&gt;setdir dirname&lt;br /&gt;sendln 'enable'&lt;br /&gt;wait 'Password:'&lt;br /&gt;sendln Enable&lt;br /&gt;return&lt;br /&gt;&lt;br /&gt;;#####################################&lt;br /&gt;;Commander is a sub-routine which executes the&lt;br /&gt;;commands placed in 'commands.txt' file&lt;br /&gt;;#####################################&lt;br /&gt;&lt;br /&gt;:commander&lt;br /&gt;setdir dirname&lt;br /&gt;fileopen commandfile 'commands.txt' 0&lt;br /&gt;:looper2&lt;br /&gt;filereadln commandfile statement&lt;br /&gt;if result goto fclose2&lt;br /&gt;sendln statement&lt;br /&gt;wait '#' '&gt;'&lt;br /&gt;if result = 2 then&lt;br /&gt;goto fclose2&lt;br /&gt;endif&lt;br /&gt;goto looper2&lt;br /&gt;:fclose2&lt;br /&gt;fileclose commandfile&lt;br /&gt;return&lt;br /&gt;&lt;br /&gt;;###########################################&lt;br /&gt;;Terminator is a sub-routine which provides terminal closure and&lt;br /&gt;;passing the control to the main sub-routine for loop completion.&lt;br /&gt;;###########################################&lt;br /&gt;&lt;br /&gt;:terminator&lt;br /&gt;beep&lt;br /&gt;if Logger = 0 then&lt;br /&gt;goto jumper3&lt;br /&gt;endif&lt;br /&gt;logclose&lt;br /&gt;:jumper3&lt;br /&gt;closett&lt;br /&gt;return&lt;br /&gt;&lt;br /&gt;;###########################################&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6526143394596453278-306764044637828279?l=networkingvibes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networkingvibes.blogspot.com/feeds/306764044637828279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6526143394596453278&amp;postID=306764044637828279' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/306764044637828279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6526143394596453278/posts/default/306764044637828279'/><link rel='alternate' type='text/html' href='http://networkingvibes.blogspot.com/2007/05/power-of-tera-term.html' title='Power of Tera Term'/><author><name>Sridhar</name><uri>http://www.blogger.com/profile/03881065648779943380</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry></feed>
