<?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:blogger='http://schemas.google.com/blogger/2008' 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-2430283562800055903</id><updated>2024-09-22T19:05:32.067-07:00</updated><category term="cisco"/><category term="ios"/><category term="F5"/><category term="cli"/><category term="IP"/><category term="NAS"/><category term="NX"/><category term="NX-OS"/><category term="bypass"/><category term="commands"/><category term="nexus"/><category term="tcpdump"/><category term="vlan"/><category term="1024"/><category term="Ironport"/><category term="Load balancer"/><category term="WSA"/><category term="access-list"/><category term="air video"/><category term="airplay"/><category term="analysis"/><category term="apple"/><category term="appletv"/><category term="asyncOS"/><category term="bigip"/><category term="bin"/><category term="ca zero"/><category term="collect"/><category term="command"/><category term="comparisons"/><category term="counters"/><category term="debian"/><category term="differences"/><category term="dummies"/><category term="f5 router"/><category term="fedora"/><category term="file transfer"/><category term="filter"/><category term="flow-export"/><category term="ftp"/><category term="gateway"/><category term="gtm"/><category term="image download"/><category term="image upload"/><category term="ipod"/><category term="linux"/><category term="linux commands"/><category term="load balancing"/><category term="logfile"/><category term="ltm"/><category term="mypubkey"/><category term="netflow"/><category term="pacfile"/><category term="packet"/><category term="packet analysis"/><category term="peer gateway"/><category term="pix"/><category term="proxy"/><category term="red hat"/><category term="reference"/><category term="route-cache"/><category term="router"/><category term="rsa"/><category term="shell"/><category term="shell commands"/><category term="show"/><category term="squid"/><category term="ssh"/><category term="syntax"/><category term="tftp"/><category term="throughput"/><category term="tmsh"/><category term="top"/><category term="transactional result code"/><category term="v10"/><category term="v11"/><category term="v9"/><category term="video streaming"/><category term="vpc"/><category term="wireless"/><title type='text'>Infobhatt</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-5484143304501684631</id><published>2012-02-20T09:16:00.001-08:00</published><updated>2012-02-20T09:16:42.091-08:00</updated><title type='text'>F5 Pacfiles R Us Part Duex</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;In my previous article I explained how pac files can be consolidated by using an F5 Load Balancer eliminating a web server in the process.&amp;nbsp;&amp;nbsp; The pac file for the most part was very static.&amp;nbsp; What if you want to make it dynamic – such that you have many different proxy systems and you want to serve a different version of the pacfile based on client’s source address.&lt;/p&gt; &lt;p&gt;In this article I am going to show you a way to make it dynamic in 2 steps&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;1. First you need to create a data group contain the IP address of the clients associated to the proxy systems that you want to use.&lt;/p&gt; &lt;p&gt;Name: regions_proxy&lt;/p&gt; &lt;p&gt;Type: Address&lt;/p&gt; &lt;p&gt;&quot;10.10.10.0/255.255.255.0&quot; := &quot;proxy-a.domain.com:8080&quot;&lt;/p&gt; &lt;p&gt;&quot;10.10.0.0/255.255.0.0&quot; := &quot;proxy-b.domain.com:8080&quot;&lt;/p&gt; &lt;p&gt;.&lt;/p&gt; &lt;p&gt;.&lt;/p&gt; &lt;p&gt;.&lt;/p&gt; &lt;p&gt;&quot;10.0.0.0/255.0.0.0&quot; := &quot;proxy-c.domain.com:8080&quot;&lt;/p&gt; &lt;p&gt;...Etc&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Then you need the iRule itself.&amp;nbsp; This time you are going to use Datagroups and variables&lt;br&gt;&lt;br&gt;when RULE_INIT {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# Set the contents of the PAC file to be delivered within static::pacfile. While&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# specific logic here is fine, the &quot;localized&quot; proxy&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# should be returned using the $selected_proxy variable... this&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# variable will be filled in when the file delivered&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# with the value learned from the DataGroup.&lt;/span&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; set static::pacfile {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function FindProxyForURL(url, host) {&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (isPlainHostName(host))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;DIRECT&quot;;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (shExpMatch(url, &quot;http://10&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;https://10&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;ftp://10&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;http://localhost&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;https://localhost&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;http://127&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;https://127&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;http://172&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;https://172&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shExpMatch(url, &quot;ftp://172&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;cls&quot;&gt;*&lt;/span&gt;&quot;))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;DIRECT&quot;;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dnsDomainIs(host, &quot;&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;extranet&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;com&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dnsDomainIs(host, &quot;&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;extranet2&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;com&quot;))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;Proxy &lt;span class=&quot;cls&quot;&gt;$&lt;/span&gt;proxyselect&quot;;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dnsDomainIs(host, &quot;&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;intrant&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;com&quot;)||&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dnsDomainIs(host, &quot;&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;intranet2&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;com&quot;))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;DIRECT&quot;;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;PROXY &lt;span class=&quot;cls&quot;&gt;$&lt;/span&gt;proxyselect&quot;;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp; }&lt;br&gt;}&lt;br&gt;&lt;br&gt;when CLIENT_ACCEPTED {&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# Create a DataGroup class called &quot;proxy_regions&quot; and populate it with&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# the IP networks and their proxy value assignments:&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# &quot;10.0.0.0/8&quot; := &quot;proxya.domain.com:8080&quot;&lt;/span&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if { [class match [IP::client_addr] eq regions_proxy] } {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set proxyselect &quot;[class match -value [IP::client_addr] eq regions_proxy]&quot;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set proxyselect &quot;DIRECT&quot;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;when HTTP_REQUEST {&lt;br&gt;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# Returns pacfile via &quot;proxy.pac&quot; as part of the HTTP Request&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;rem&quot;&gt;# with specific proxy Content-type&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; switch [HTTP::uri] {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/proxy&lt;span class=&quot;attr&quot;&gt;.&lt;/span&gt;pac&quot; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HTTP::respond 200 content [subst &lt;span class=&quot;cls&quot;&gt;$&lt;/span&gt;static::pacfile] &quot;Content-Type&quot; &quot;application/x-ns-proxy-autoconfig&quot; &quot;pragma&quot; &quot;no-cache&quot;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp; }&lt;br&gt;}&lt;br&gt;&lt;/p&gt;As you can see with datagroups and variables.&amp;nbsp; You can control how the pacfile is structured and customized without create different file versions.  </content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/5484143304501684631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/02/f5-pacfiles-r-us-part-duex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/5484143304501684631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/5484143304501684631'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/02/f5-pacfiles-r-us-part-duex.html' title='F5 Pacfiles R Us Part Duex'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-8192622396637476078</id><published>2012-02-20T08:52:00.001-08:00</published><updated>2012-02-20T08:52:49.540-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="F5"/><category scheme="http://www.blogger.com/atom/ns#" term="pacfile"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><title type='text'>F5 Pacfiles R Us</title><content type='html'>&lt;p&gt;As some of my friends would agree I am an F5 evangelist.  The reason why I am such a fan is because it continues to eliminate or lesson some of the biggest head-aches that I experience at work. One of those pain points that it helps lesson is managing and using pac files.&lt;/p&gt;
&lt;p&gt;Pac Files are used throughout various companies to direct traffic out  proxy systems but is not wel understood by most and how it relates to  F5 ADCs.  Hopefully this article can clear it up for you and give you a  better how idea of how to use it with the ADC.&lt;/p&gt;
&lt;p&gt;What are pac file?  A pac file is a text file containing JavaScript  code.  It is commonly called proxy.pac, but it can be named differently.  It’s mostly used for 2 primary reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Companies have multiple proxies where traffic is directed  through, either for redundancy or access to networks that are normally  closed off.&lt;/li&gt;
&lt;li&gt;Split domain, where a single domain (i.e., domain.com ) is hosted both internally and externally.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A very basic pac file contains a single function.  It’s function is  to direct users through a proxy or proxies based on a URL or website  request.   A more advanced pacfile script can direct users out through a  proxy or proxies based on user’s IP address or subnet.&lt;/p&gt;
&lt;p&gt;The pac file settings are usually the following link  &lt;em&gt;http://pac.webserver.com/proxy.pac&lt;/em&gt;.  Pac files can also be hosted on different ports where the links for eample port 7070 (i.e., &lt;em&gt;&lt;a href=&quot;http://pac.webserver.com:7070/proxy.pac&quot;&gt;http://pac.webserver.com:7070/proxy.pac&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The pac file setting is configured in the browsers option or preference settings.   Most cases they are labeled clearly.&lt;/p&gt;
&lt;p&gt;The pac file can be hosted on the user’s PC or it can be hosted on a  web server (i.e. Apache or IIS). Most companies host in a web server,  for centralized control.  It’s important to remember that, so far no  browser supports more then one pacfile at the user browser level.   However, there are certain 3rd party extensions that can be used to get  around this limitation.  However, it’s usually designed for a specific  browser rather then a universal version.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;So now you understand what a pac file is, what does a standard syntax look like?&lt;/p&gt;
&lt;!--StartFragment--&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  1: function FindProxyForURL(url, host) {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  2:     &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  3:     &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  4:     &lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  5:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  6:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  7:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  8:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  9:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 10:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 11:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 12:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 13:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://172.*&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 14:     &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 15:         &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 16: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 17:     &lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;insidesite.com&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 18:     dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;servername.google.com&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 19:     &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 20: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 21:   &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;PROXY proxy.internaldomain.com:8080&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 22:   }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 23: }&lt;/pre&gt;
&lt;/pre&gt;
&lt;!--EndFragment--&gt;
&lt;p&gt; &lt;/p&gt;
&lt;!--StartFragment--&gt;
&lt;p&gt;Simple?  It’s actually simple once you know what each lines are  doing.   Let me explain: Lines 4 to 14 state that if a user entered a  HTTP request that’s a private address or a localhost or loopback,   should go direct and not use a proxy.   Lines 17 to 19 state that if a  user entered a HTTP request where the hostname matches either those 2  entries - should go direct and not use a proxy.  Line 21 is the catch  all – if the user’s HTTP request does not match any of the IF  conditional statements, the script forces a request to go to  proxy.internaldomain.com on port 8080.   It’s important to note that the  pacfile scripts are processed at the client and NOT on the server that  is delivering the pacfile.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;!--StartFragment--&gt;
&lt;p&gt;Now that you the basic idea of pac file syntax, the next step is to  know how it works with respect to user, proxy and a web server holding a  webpage.&lt;/p&gt;
&lt;p&gt;Let’s say the Pac file is hosted on a proxy server also running a web  server.  Let’s assume that the user already has the proxy pac file  settings already configured in their browser.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;itcexpando&quot; href=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image002_2.jpg&quot;&gt;&lt;img style=&quot;display: inline; border-width: 0px;&quot; title=&quot;clip_image002&quot; src=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image002_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;clip_image002&quot; width=&quot;156&quot; height=&quot;68&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; When the user starts the internet browser, browser retrieves the pac file .&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;itcexpando&quot; href=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image003_2.jpg&quot;&gt;&lt;img style=&quot;display: inline; border-width: 0px;&quot; title=&quot;clip_image003&quot; src=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image003_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;clip_image003&quot; width=&quot;154&quot; height=&quot;83&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; The pacfile is downloaded to the browser’s  cache and process any URL requests (For example the user’s browser could  have home page going to &lt;a href=&quot;http://www.cnn.com&quot;&gt;www.cnn.com&lt;/a&gt;) before it let’s the user enter information in the URL&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 3: &lt;/strong&gt;The user then enters in the URL &lt;a href=&quot;http://www.google.com&quot;&gt;http://www.google.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;itcexpando&quot; href=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image005_2.jpg&quot;&gt;&lt;img style=&quot;display: inline; border-width: 0px;&quot; title=&quot;clip_image005&quot; src=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image005_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;clip_image005&quot; width=&quot;240&quot; height=&quot;57&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;:  The browser runs through the pacfile  script  like the one above, attempting to match to a IF conditional  statement.   In our example it won’t match any IF statement statement –  thus by default is sent to “PROXY proxy.internaldomain.com:8080”&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;itcexpando&quot; href=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image006_2.jpg&quot;&gt;&lt;img style=&quot;display: inline; border-width: 0px;&quot; title=&quot;clip_image006&quot; src=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image006_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;clip_image006&quot; width=&quot;240&quot; height=&quot;64&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 5&lt;/strong&gt;: Proxy makes a request to the internet web server and requests for &lt;a href=&quot;http://www.google.com&quot;&gt;www.google.com&lt;/a&gt; page on behalf of the user.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;itcexpando&quot; href=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image007_2.jpg&quot;&gt;&lt;img style=&quot;display: inline; border-width: 0px;&quot; title=&quot;clip_image007&quot; src=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image007_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;clip_image007&quot; width=&quot;240&quot; height=&quot;57&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 6: &lt;/strong&gt;The page is returned to the proxy.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;itcexpando&quot; href=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image008_2.jpg&quot;&gt;&lt;img style=&quot;display: inline; border-width: 0px;&quot; title=&quot;clip_image008&quot; src=&quot;http://devcentral.f5.com/Portals/0/images/metapost/News-Articles/cmbhatt/2010/Oct/WLW-ProxyPACFilewithiRulePart1Hosting_B80E-clip_image008_thumb.jpg&quot; border=&quot;0&quot; alt=&quot;clip_image008&quot; width=&quot;240&quot; height=&quot;55&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 7: &lt;/strong&gt;As a final step, the proxy sends the request web page to user.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Okay this is great.  What does this have to do with ADCs?  As it  turns out there is one disadvantage for pacfiles – hosting a pacfile.   It requires a web server.  While the thought of hosting a web page might  not be earth shattering it does become a problem when you run into the  following scenario.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Your IT organization might mandate a reduction in the amount of web servers in the environment.&lt;/li&gt;
&lt;li&gt;Your IT organization could contain a mixture of Squid, Bluecoat,  and/or Ironport proxy systems.  Each proxy has their own distinctive  method to deliver a pac file, some might provide you flexibility to  control your pac file deliver and some might not.&lt;/li&gt;
&lt;li&gt;Your IT organization wants to deliver different pac files based on users location or type of browser or IP addresses.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;What if you can host the pac file in an iRule?    A centralized and  consistent approach to deliver a pac file(s) to a user without requiring  a web server OR relying on proxy vendors.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;The iRule&lt;/h3&gt;
&lt;p&gt;IMPORTANT NOTE: From this point the iRule is written to conform with v10&lt;/p&gt;
&lt;p&gt;So how do we get an iRule to deliver a pacfile?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;At this point we know the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pac file is a JavaScript code that the browsers understands&lt;/li&gt;
&lt;li&gt;Pac file is delivered via HTTP REQUEST and RESPONSE&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;function&lt;/span&gt; FindProxyForURL(url, host) {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (isPlainHostName(host))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://172.*&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;		&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.com&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.net&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;outside.net&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;     &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;PROXY proxy.internaldomain.com:8080&lt;/span&gt;&quot;;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;	}
&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;}&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;What’s the first step?   Since the script needs to be human readable  with indents and spaces we need to set the entire Pac file script into a  global variable for example “pacfile”&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  1: 	set static::pacfile {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  2: 	&lt;span style=&quot;color: #0000ff;&quot;&gt;function&lt;/span&gt; FindProxyForURL(url, host) {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  3: 		&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  4: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (isPlainHostName(host))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  5: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  6: 	  &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  7: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  8: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  9: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 10: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 11: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 12: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 13: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 14: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 15: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 16: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://172.*&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 17: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 18: 				&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 19: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 20: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.com&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 21: 		dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.net&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 22: 		dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;outside.net&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 23: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 24: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 25: 	&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;PROXY proxy.internaldomain.com:8080&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 26: 	}&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 27: }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 28: &lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The event to use is when RULE_INIT since we are setting the script into a global variable.  Your code looks like the following&lt;/p&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  1: &lt;span style=&quot;color: #0000ff;&quot;&gt;when&lt;/span&gt; RULE_INIT {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  2: 	set static::pacfile {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  3: 	function FindProxyForURL(url, host) {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  4: 		&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  5: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (isPlainHostName(host))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  6: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  7: 	  &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  8: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  9: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 10: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 11: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 12: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 13: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 14: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 15: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 16: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 17: 		shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://172.*&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 18: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 19: 				&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 20: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 21: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.com&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 22: 		dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.net&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 23: 		dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;outside.net&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 24: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 25: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 26: 	&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;PROXY proxy.internaldomain.com:8080&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 27: 	}&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 28: 	}&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 29: }&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The next step is to use HTTP_REQUEST event as the trigger for the  request  and use HTTP::response command to send the the contents of the  pacfile back to the requestor.   We also need to include a MIME type so  the browser knows that proxy pac file is being send.  This is a  requirement.  We also need to make sure that requestor’s browser does  not cache the file for any length of time.   This is because we want to  make updates and get immediate changes to the requestor.&lt;/p&gt;
&lt;p&gt;Based on this the code should look something like the following&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  1: &lt;span style=&quot;color: #0000ff;&quot;&gt;when&lt;/span&gt; HTTP_REQUEST {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  2: 	switch -&lt;span style=&quot;color: #00008b;&quot;&gt;glob&lt;/span&gt; [HTTP::uri] {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  3: 	  &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;/proxy.pac&lt;/span&gt;&quot; {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  4: 		HTTP::respond 200 content $static::pacfile &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;Content-Type&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;application/x-ns-proxy-autoconfig&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;pragma&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;no-cache&lt;/span&gt;&quot;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  5: 		&lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  6: 	               }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  7: 	}&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  8: }&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre&gt; &lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Putting it all together the entire code should look like the following&lt;/p&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  1: &lt;span style=&quot;color: #0000ff;&quot;&gt;when&lt;/span&gt; RULE_INIT {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  2:   set static::pacfile {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  3:   function FindProxyForURL(url, host) {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  4:     &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  5:     &lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (isPlainHostName(host))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  6:     &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  7:     &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  8:     &lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt;  9:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 10:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://10.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 11:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 12:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://localhost*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 13:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 14:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://127.0.0.1*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 15:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;http://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 16:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;https://172.*&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 17:     shExpMatch(url, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;ftp://172.*&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 18:     &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 19:         &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 20:     &lt;span style=&quot;color: #0000ff;&quot;&gt;if&lt;/span&gt; (dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.com&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 21:     dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;inside.net&lt;/span&gt;&quot;)||&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 22:     dnsDomainIs(host, &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;outside.net&lt;/span&gt;&quot;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 23:     &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;DIRECT&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 24: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 25:   &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;PROXY proxy.internaldomain.com:8080&lt;/span&gt;&quot;;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 26:   }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 27:   }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 28: }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 29: &lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 30: &lt;span style=&quot;color: #0000ff;&quot;&gt;when&lt;/span&gt; HTTP_REQUEST {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 31:   switch -&lt;span style=&quot;color: #00008b;&quot;&gt;glob&lt;/span&gt; [HTTP::uri] {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 32:     &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;/proxy.pac&lt;/span&gt;&quot; {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 33:       HTTP::respond 200 content $static::pacfile &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;Content-Type&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;application/x-ns-proxy-autoconfig&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;pragma&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: #8b0000;&quot;&gt;no-cache&lt;/span&gt;&quot;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 34:       &lt;span style=&quot;color: #0000ff;&quot;&gt;return&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 35:     }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 36:   }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #e6e6e6; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px;&quot;&gt; 37: }&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;As you can see you now have the ability to deliver a pac file without using a web server&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;!--EndFragment--&gt; &lt;!--EndFragment--&gt; &lt;!--EndFragment--&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/8192622396637476078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/02/f5-pacfiles-r-us.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/8192622396637476078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/8192622396637476078'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/02/f5-pacfiles-r-us.html' title='F5 Pacfiles R Us'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-4011630513511202091</id><published>2012-01-17T15:23:00.000-08:00</published><updated>2012-01-17T16:31:05.994-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="air video"/><category scheme="http://www.blogger.com/atom/ns#" term="airplay"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="appletv"/><category scheme="http://www.blogger.com/atom/ns#" term="ipod"/><category scheme="http://www.blogger.com/atom/ns#" term="video streaming"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>Custom Commercial Home Video Streaming</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;A&amp;nbsp;colleague&amp;nbsp;of mine came to me and asked me &quot;How can I stream my home videos or any digital video I have to the big screen in a way that doesn&#39;t require me to be an expert on computers.&quot; &amp;nbsp;So I wanted to share with a simple setup outline that I have tried as well who have tested this and worked for them.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here is what you need at the&amp;nbsp;minimum:&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hardware&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- HDTV (Any will do)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Apple TV 2 (IOS 4.3 or above)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- iPod or iPAD or iPhone (IOS&amp;nbsp;&lt;span style=&quot;background-color: #fafafa; line-height: 18px; text-align: -webkit-auto;&quot;&gt;v4.3 and up).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- PC / MAC with&amp;nbsp;&lt;/span&gt;at least&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;200GB of storage with decent processor (a good comparison is 2011 Mac Book Pro which has enough computing power)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;**Software&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Air Video Server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Air Video Mobile (For the iPod/iPAD/iPhone)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;With these components you can stream pretty much any video to the big screen.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here is the basic setup:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Assumption: You need a home wifi that is supporting 802.11n (5Ghz) . &amp;nbsp;You will need dual band wifi (802.11g/n) if your iPod or iPhone only supports 802.11g&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1. Setup your AppleTV hooked up to your home Wifi on 802.11n and AirPlay turned on.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;2. Next you will need a PC/MAC where you store your video. &amp;nbsp;You download AirVideo server (http://www.inmethod.com/air-video/download.html). &amp;nbsp;You install, run the software and point to the directory where you store you video.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3. You download Air Video Mobile on your iPod. (You can download this http://www.inmethod.com/air-video/index.html)&lt;/span&gt;&lt;br /&gt;
NOTE: Your iPOD will use the 2Ghz frequency for wireless hookup. Why? &lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;From this point on you can view the video on the iPod through Air Video App. &amp;nbsp;When you want to view this on your HDTV then you use Airplay to point the stream to the Apple TV (You can view use or Airplay here http://support.apple.com/kb/HT4437). &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;A couple of things you need to keep in mind:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- You can also control forwarding, skip, rewind through your iPod which&amp;nbsp;&lt;/span&gt;essentially&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;services as your remote control for streaming your video.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Transcoding is done at the PC/MAC that contains the AirVideo server&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This is it in a nutshell. I haven&#39;t seen any of my other collegues really have issues with this setup. In most cast they already had the hardware, but only needed the Air Video software.&lt;br /&gt;
&lt;br /&gt;
I hope this little outline helps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/4011630513511202091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/custom-commercial-home-video-streaming.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/4011630513511202091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/4011630513511202091'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/custom-commercial-home-video-streaming.html' title='Custom Commercial Home Video Streaming'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-449605683128033008</id><published>2012-01-16T13:40:00.001-08:00</published><updated>2012-01-16T13:46:56.491-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analysis"/><category scheme="http://www.blogger.com/atom/ns#" term="cli"/><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="dummies"/><category scheme="http://www.blogger.com/atom/ns#" term="F5"/><category scheme="http://www.blogger.com/atom/ns#" term="filter"/><category scheme="http://www.blogger.com/atom/ns#" term="packet"/><category scheme="http://www.blogger.com/atom/ns#" term="packet analysis"/><category scheme="http://www.blogger.com/atom/ns#" term="tcpdump"/><title type='text'>REFERENCES: F5 TCPDUMP for Dummies</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This month I received about 2 or 3 requests from my clients to educate them on TCPDUMP with respect to the F5. &amp;nbsp;There are plenty of TCPDUMP HOW-TO&#39;s (a popular one can be found &lt;a href=&quot;http://www.alexonlinux.com/tcpdump-for-dummies&quot;&gt;here&lt;/a&gt;). &amp;nbsp; This is slightly the same concept as a Dummies book, but more or less a FAQ.&lt;br /&gt;
I hope you like the article&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;What is TCPDUMP?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;The &lt;b&gt;tcpdump&lt;/b&gt; utility is a command line packet sniffer with many features and options. For a full description, refer to the &lt;b&gt;tcpdump&lt;/b&gt; man pages by typing the following command:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;man tcpdump&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: What devices use TCPDUMP?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;A: &lt;/span&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;It is available on the F5 BIGIP Devices as well Linux devices.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: Selecting an interface or VLAN?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;A: &lt;/span&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;The &lt;b&gt;tcpdump&lt;/b&gt; utility is able to sniff for packets on only one interface or VLAN. By default, it will select the lowest numbered interface.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;To select an interface, use the &lt;b&gt;-i&lt;/b&gt; flag as follows:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;tcpdump -i &amp;lt;interface&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Examples:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -i exp1&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -i 1.10&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -i internal&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: How do you disable name resolution?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;A:&lt;/span&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;By default, &lt;b&gt;tcpdump&lt;/b&gt; will attempt to look up IP addresses and use names, rather than numbers, in the output. BIG-IP must wait for a response from the DNS server, so the lookups can be time consuming and the output may be confusing.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;To disable name resolution, use the &lt;b&gt;-n&lt;/b&gt; flag as in the following examples:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -n&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -ni internal&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: How do you save TCPDUMP output to a file?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;You can save the &lt;b&gt;tcpdump&lt;/b&gt; data to one of the following file formats:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;A binary file that contains all the information collected by the &lt;b&gt;tcpdump&lt;/b&gt; and is readable by the &lt;b&gt;tcpdump&lt;/b&gt; utility as well as many other traffic analysis packages.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;A text file that contains a subset of the full &lt;b&gt;tcpdump&lt;/b&gt; data, but is readable only as plain text.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Binary file&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;To save the &lt;b&gt;tcpdump&lt;/b&gt; output to a binary file, type the following command:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -w &amp;lt;filename&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -w dump1.bin&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #1738f5; font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; The &lt;b&gt;tcpdump&lt;/b&gt; utility will not print data to the screen while it is capturing to a file. To stop the capture, press &lt;b&gt;CTRL-C&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Text file&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;To save the &lt;b&gt;tcpdump&lt;/b&gt; output to a text file, type the following command:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump &amp;gt; &lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;filename.txt&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump &amp;gt; dump1.txt&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: How do you read binary file output?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;A:&lt;/span&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;To read data from a binary &lt;b&gt;tcpdump&lt;/b&gt; file (that you saved by using the &lt;b&gt;tcpdump -w&lt;/b&gt; command), type the following command:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -r &amp;lt;filename&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -r dump1.bin&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;In this mode, the &lt;b&gt;tcpdump&lt;/b&gt; utility reads stored packets from the file, but otherwise operates just as it would reading from the network interface. As a result, you can use formatting commands and filters.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #1738f5; font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: How do I do filtering?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;A:&lt;/span&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;The &lt;b&gt;tcpdump&lt;/b&gt; utility allows you to use filters to, among other things, restrict the output to specified addresses and ports and specified tcp flags.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Filtering on a host address&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling to or from a specific IP address, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump host &lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;IP_ADDRESS&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump host 10.90.100.1&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling from a specific IP address, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;&lt;i&gt;tcpdump src host &lt;span style=&quot;font-size: 14px;&quot;&gt;IP_ADDRESS&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump src host 10.90.100.1&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling to a particular IP address, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump dst host &lt;b&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;IP_ADDRESS&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump dst host 10.90.100.1&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #1738f5; font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Filtering on a port&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling through the BIG-IP system and are either sourced from or destined to a specific port, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump port &lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;PORT_NUM&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump port 80&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling through the BIG-IP system and sourced from a specific port, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump src port&amp;nbsp;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;PORT_NUM&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump src port 80&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling through the BIG-IP system and destined to a specific port, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump dst port &lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;i&gt;PORT_NUM&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;For example:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump dst port 80&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px; min-height: 14.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Filtering on a tcp flag&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling through the BIG-IP system that contain the SYN flag, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump &#39;tcp[tcpflags] &amp;amp; (tcp-syn) != 0&#39;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;list-style-type: disc;&quot;&gt;
&lt;li style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt;To view all packets that are traveling through the BIG-IP system that contain the RST flag, type the following command: &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 10.0px 0.0px 0.0px 36.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump &#39;tcp[tcpflags] &amp;amp; (tcp-rst) != 0&#39;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #1738f5; font: 10.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;Combining filters with the and operator&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;You can use the &lt;b&gt;and&lt;/b&gt; operator to filter for a mixture of output.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Following are some examples of useful combinations:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump host 10.90.100.1 and port 80&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump src host 172.16.101.20 and dst port 80&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump src host 172.16.101.20 and dst host 10.90.100.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Calibri; margin: 10.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #9fc5e8; font: 11px Calibri; margin: 10px 0px 0px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Q: How do I combine TCPDUMP options?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;A: &lt;/span&gt;&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;This Solution contains the most essential &lt;b&gt;tcpdump&lt;/b&gt; options. You will generally need to use most of the options in combination.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px Calibri; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;Following are examples of how to combine the &lt;b&gt;tcpdump&lt;/b&gt; options to provide the most meaningful output:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -ni internal -w dump1.bin&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -ni internal -r dump1.bin host 10.90.100.1&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -ni exp1 host 10.90.100.1 and port 80&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Courier New&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px; letter-spacing: 0.8px;&quot;&gt;&lt;b&gt;tcpdump -ni 1.10 src host 172.16.101.20 and dst port 80 &amp;gt;dump1.txt&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 10.0px Calibri; margin: 10.0px 0.0px 10.0px 0.0px; min-height: 13.0px;&quot;&gt;
&lt;span style=&quot;letter-spacing: 0.8px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/449605683128033008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/references-f5-tcpdump-for-dummies.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/449605683128033008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/449605683128033008'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/references-f5-tcpdump-for-dummies.html' title='REFERENCES: F5 TCPDUMP for Dummies'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-8990292825082379820</id><published>2012-01-16T12:30:00.001-08:00</published><updated>2012-01-16T12:49:38.826-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="red hat"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>COMMANDS: SSH, not so obvious uses</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;SSH is used practically every day by various types of administrators and applications. SSH is one of the the most documented commands. &amp;nbsp;So what I have done is looked for commands that use SSH for some not so obvious uses. &amp;nbsp;Hopefully this help or inspire you to use it for whatever solution you want to provide&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;1) Copy ssh keys to user@host to enable password-less ssh logins.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh-copy-id user@host&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; To generate the keys use the command ssh-keygen&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;2) Start a tunnel from some machine’s port 80 to your local post 2001&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh -N -L2001:localhost:80 somemachine&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Now you can acces the website by going to &lt;a href=&quot;http://www.blogger.com/%22&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;http://localhost:2001/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;3) Output your microphone to a remote computer’s speaker&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; This will output the sound from your microphone port to the ssh target computer’s speaker port. The sound quality is very bad, so you will hear a lot of hissing.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; &lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; 4) Compare a remote file with a local file&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; &lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;ssh user@host cat /path/to/remotefile | diff /path/to/localfile&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Useful for checking if there are differences between local and remote files.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;5) Mount folder/filesystem through SSH&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;sshfs name@server:/path/to/folder /path/to/mount/point&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Install SSHFS from &lt;a href=&quot;http://www.blogger.com/%22&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;http://fuse.sourceforge.net/sshfs.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Will allow you to mount a folder security over a network.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;6) SSH connection through host in the middle&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh -t reachable_host ssh unreachable_host&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Unreachable_host is unavailable from local network, but it’s available from reachable_host’s network. This command creates a connection to unreachable_host through “hidden” connection to reachable_host.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;7) Copy from host1 to host2, through your host&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh root@host1 “cd /somedir/tocopy/ &amp;amp;&amp;amp; tar -cf – .” | ssh root@host2 “cd /samedir/tocopyto/ &amp;amp;&amp;amp; tar -xf -”&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Good if only you have access to host1 and host2, but they have no access to your host (so ncat won’t work) and they have no direct access to each other.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;8) Run any GUI program remotely&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh -fX &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt; &amp;lt;program&amp;gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; The SSH server configuration requires:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; X11Forwarding yes # this is default in Debian&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; And it’s convenient too:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Compression delayed&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; &lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; 9) Create a persistent connection to a machine&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh -MNf &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Create a persistent SSH connection to the host in the background. Combine this with settings in your ~/.ssh/config:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Host host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; ControlPath &lt;a href=&quot;http://www.blogger.com/%22mailto:&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;~/.ssh/master-%r@%h:%p&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; ControlMaster no&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; All the SSH connections to the machine will then go through the persisten SSH socket. This is very useful if you are using SSH to synchronize files (using rsync/sftp/cvs/svn) on a regular basis because it won’t create a new socket each time to open an ssh connection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;10) Attach screen over ssh&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh -t remote_host screen -r&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Directly attach a remote screen session (saves a useless parent bash process)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;11) Port Knocking!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;knock &amp;lt;host&amp;gt; 3000 4000 5000 &amp;amp;&amp;amp; ssh -p &amp;lt;port&amp;gt; user@host &amp;amp;&amp;amp; knock &amp;lt;host&amp;gt; 5000 4000 3000&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Knock on ports to open a port to a service (ssh for example) and knock again to close the port. You have to install knockd.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; See example config file below.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; [options]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; logfile = /var/log/knockd.log&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; [openSSH]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; sequence = 3000,4000,5000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; seq_timeout = 5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; command = /sbin/iptables -A INPUT -i eth0 -s %IP% -p tcp –dport 22 -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; tcpflags = syn&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; [closeSSH]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; sequence = 5000,4000,3000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; seq_timeout = 5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; command = /sbin/iptables -D INPUT -i eth0 -s %IP% -p tcp –dport 22 -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; tcpflags = syn&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;12) Remove a line in a text file. Useful to fix&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh-keygen -R &amp;lt;the_offending_host&amp;gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; In this case it’s better do to use the dedicated tool&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;13) Run complex remote shell cmds over ssh, without escaping quotes&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh host -l user $(&amp;lt;cmd.txt)&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Much simpler method. More portable version: ssh host -l user “`cat cmd.txt`”&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;14) Copy a MySQL Database to a new Server via SSH with one command&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;mysqldump –add-drop-table –extended-insert –force –log-error=error.log -uUSER -pPASS OLD_DB_NAME | ssh -C user@newhost “mysql -uUSER -pPASS NEW_DB_NAME”&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Dumps a MySQL database over a compressed SSH tunnel and uses it as input to mysql – i think that is the fastest and best way to migrate a DB to a new server!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;15) Remove a line in a text file. Useful to fix “ssh host key change” warnings&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;sed -i 8d ~/.ssh/known_hosts&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;16) Copy your ssh public key to a server from a machine that doesn’t have ssh-copy-id&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;cat ~/.ssh/id_rsa.pub | ssh user@machine “mkdir ~/.ssh; cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys”&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; If you use Mac OS X or some other *nix variant that doesn’t come with ssh-copy-id, this one-liner will allow you to add your public key to a remote machine so you can subsequently ssh to that machine without a password.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;17) Live ssh network throughput test&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;yes | pv | ssh $host “cat &amp;gt; /dev/null”&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; connects to host via ssh and displays the live transfer speed, directing all transferred data to /dev/null&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; needs pv installed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Debian: &lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;strong&gt;‘apt-get install pv’&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Fedora: &lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;strong&gt;‘yum install pv’&lt;/strong&gt;&lt;/span&gt; (may need the ‘extras’ repository enabled)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;18) How to establish a remote Gnu screen session that you can re-connect to&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; &lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;strong&gt;ssh -t &lt;a href=&quot;http://www.blogger.com/%22mailto:&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;user@some.domain.com&lt;/span&gt;&lt;/a&gt; /usr/bin/screen -xRR&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Long before tabbed terminals existed, people have been using Gnu screen to open many shells- &amp;nbsp;a single text terminal. Combined with ssh, it gives you the ability to have many open shells with a single remote connection using the above options. If you detach with “Ctrl-a d” or if the ssh session is accidentally terminated, all processes running in your remote shells remain undisturbed, ready for you to reconnect. Other useful screen commands are “Ctrl-a c” (open new shell) and “Ctrl-a a” (alternate between shells). Read this quick reference for more screen commands: &lt;a href=&quot;http://www.blogger.com/%22&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;http://aperiodic.net/screen/quick_reference&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;19) Resume scp of a big file&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;rsync –partial –progress –rsh=ssh $file_source $user@$host:$destination_file&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; It can resume a failed secure copy ( usefull when you transfer big files like db dumps through vpn ) using rsync.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; It requires rsync installed in both hosts.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt; rsync –partial –progress –rsh=ssh $file_source $user@$host:$destination_file local -&amp;gt; remote&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; or&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt; rsync –partial –progress –rsh=ssh $user@$host:$remote_file $destination_file remote -&amp;gt; local&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;20) Analyze traffic remotely over ssh w/ wireshark&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; &lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;strong&gt;ssh &lt;a href=&quot;http://www.blogger.com/%22mailto:&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;root@server.com&lt;/span&gt;&lt;/a&gt; ‘tshark -f “port !22″ -w -’ | wireshark -k -i&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; This captures traffic on a remote machine with tshark, sends the raw pcap data over the ssh link, and displays it in wireshark. Hitting ctrl+C will stop the capture and unfortunately close your wireshark window. This can be worked-around by passing -c # to tshark to only capture a certain # of packets, or redirecting the data through a named pipe rather than piping directly from ssh to wireshark. I recommend filtering as much as you can in the tshark command to conserve bandwidth. tshark can be replaced with tcpdump thusly:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; &lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; ssh &lt;a href=&quot;http://www.blogger.com/%22mailto:&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;root@example.com&lt;/span&gt;&lt;/a&gt;&lt;/span&gt; tcpdump -w – ‘port !22′ | wireshark -k -i&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;21) Have an ssh session open forever&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;autossh -M50000 -t server.example.com ‘screen -raAd mysession’&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Open a ssh session opened forever, great on laptops losing Internet connectivity when switching WIFI spots.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;22) Harder, Faster, Stronger SSH clients&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh -4 -C -c blowfish-cbc&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; We force IPv4, compress the stream, specify the cypher stream to be Blowfish. I suppose you could use aes256-ctr as well for cypher spec. I’m of course leaving out things like master control sessions and such as that may not be available on your shell although that would speed things up as well.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;23) Throttle bandwidth with cstream&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;tar -cj /backup | cstream -t 777k | ssh host ‘tar -xj -C /backup’&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; this bzips a folder and transfers it over the network to “host” at 777k bit/s.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; cstream can do a lot more, have a look &lt;a href=&quot;http://www.blogger.com/%22&quot;&gt;&lt;span style=&quot;color: #1738f5; text-decoration: underline;&quot;&gt;http://www.cons.org/cracauer/cstream.html#usage&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; for example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt; echo w00t, i’m 733+ | cstream -b1 -t2&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;24) Transfer SSH public key to another machine in one step&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh-keygen; ssh-copy-id user@host; ssh user@host&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; This command sequence allows simple setup of (gasp!) password-less SSH logins. Be careful, as if you already have an SSH keypair in your ~/.ssh directory on the local machine, there is a possibility ssh-keygen may overwrite them. ssh-copy-id copies the public key to the remote host and appends it to the remote account’s ~/.ssh/authorized_keys file. When trying ssh, if you used no passphrase for your key, the remote shell appears soon after invoking ssh user@host.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 13.5px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt;25) Copy stdin to your X11 buffer&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 14px;&quot;&gt; &lt;strong&gt;ssh user@host cat /path/to/some/file | xclip&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 12.0px &#39;Times New Roman&#39;; margin: 5.0px 0.0px 5.0px 0.0px;&quot;&gt;
&lt;span style=&quot;font-family: Cousine; font-size: 14px;&quot;&gt; Have you ever had to scp a file to your work machine in order to copy its contents to a mail? xclip can help you with that. It copies its stdin to the X11 buffer, so all you have to do is middle-click to paste the content of that looong file :)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/8990292825082379820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/commands-not-so-obvious-uses-of-ssh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/8990292825082379820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/8990292825082379820'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/commands-not-so-obvious-uses-of-ssh.html' title='COMMANDS: SSH, not so obvious uses'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-7399321877447984114</id><published>2012-01-16T08:45:00.000-08:00</published><updated>2012-01-16T09:54:41.070-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="cli"/><category scheme="http://www.blogger.com/atom/ns#" term="commands"/><category scheme="http://www.blogger.com/atom/ns#" term="comparisons"/><category scheme="http://www.blogger.com/atom/ns#" term="differences"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="nexus"/><category scheme="http://www.blogger.com/atom/ns#" term="NX"/><category scheme="http://www.blogger.com/atom/ns#" term="NX-OS"/><title type='text'>COMMANDS: A Primer on Some of the Differences Between IOS and NX-OS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
NX-OS is starting to be my favorite OS from Cisco.&amp;nbsp; However, dealing with IOS for so long I find myself typing the wrong commands in NX-OS and IOS.&amp;nbsp; So I thought of posting up the NX-OS v4.x commands with the IOS counterpart commands for all to see.&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 244pt;&quot; width=&quot;325&quot;&gt;&lt;/col&gt;  &lt;col style=&quot;width: 214pt;&quot; width=&quot;285&quot;&gt;&lt;/col&gt;  &lt;col style=&quot;width: 424pt;&quot; width=&quot;565&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;18&quot; style=&quot;background-color: #e06666; font-family: inherit; height: 13.5pt; width: 244pt;&quot; width=&quot;325&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS   Smart Call-Home&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #e06666; font-family: inherit; width: 214pt;&quot; width=&quot;285&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Smart Call-Home&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #e06666; font-family: inherit; width: 424pt;&quot; width=&quot;565&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show callhome&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show call-home&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays global Call-Home configuration&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show callhome destination-profile&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show call-home profile&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays Call-Home profiles&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show callhome transport-email&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show call-home mail-server&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays destination Call-Home mail server&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show callhome user-def-cmds&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays user defined &quot;show&quot; commands for output&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #f6b26b; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Cisco Discovery   Protocol (CDP)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #f6b26b; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Cisco Discovery Protocol (CDP)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #f6b26b; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl65&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp all&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl65&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl65&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays all interfaces with CDP enabled&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl65&quot; height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp entry all&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl65&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp entry *&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl65&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the CDP database entries&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp global&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl65&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays Global Parameters (Enabled, Timers, etc…)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp interface&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp interface&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays interface specific information&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp neighbors&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp neighbors&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays a summer list of neighbors&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp neighbors detail&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp neighbors detail&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays detailed information per neighbor&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp neighbors interface&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp neighbors &lt;/span&gt;&lt;span class=&quot;font5&quot; style=&quot;font-size: small;&quot;&gt;interface-type&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays CDP neighbor for a specified interface&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show cdp traffic interface&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A - &quot;show cdp traffic&quot; is only global&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Provides statistics on a per interface basis&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #ffd966; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Command Scheduler&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #ffd966; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Command Scheduler&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #ffd966; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show scheduler config&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the scheduler configuration&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show scheduler job&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the Jobs configured in the scheduler&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show scheduler logfile&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the contents of the execution log file&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show scheduler name&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the schedules configured&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #93c47d; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Embedded Event Manager   (EEM)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #93c47d; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Embedded Event Manager (EEM)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #93c47d; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager environment&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager environment&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays EEM environment variables&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager event-type&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays registered event types&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager history&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager history&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information on history and past events&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager policy&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays applets or script policies&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager policy-state&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the state of a policy&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager script&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information about a script&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager system-policy&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show event manager policy&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information on system default entries&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Generic Online   Diagnostics (GOLD)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Generic Online Diagnostics (GOLD)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostics bootup level&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostics bootup level&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays current bootup level&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostics content module&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostics content module&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays test contents for a specified module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostics description module&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostics description module&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays description for a specified diagnostic test&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostic results module&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostic results module&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information and result of a diagnostic&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostic status module&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show diagnostic status&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays test status for all tests on a module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #76a5af; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Netflow&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #76a5af; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Netflow&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #76a5af; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show flow exporter&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show mls nde&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information about configured exporter maps&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show flow interface&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays interfaces configured for Netflow&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show flow monitor&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information about monitor maps&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show flow record&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information about record maps&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show flow timeout&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the Netflow timeout value&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show hardware flow aging&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show mls netflow aging&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the Netflow table aging timeout value&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show hardware flow entry&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show mls netflow ip flow&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays flow specific information&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show hardware flow ip&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show mls netflow ip&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the IP Netflow Table&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show hardware flow sampler&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show mls sampling&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the Netflow Sampling Configuration&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show hardware flow utilization module&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show mls netflow table summary&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays Netflow table utilization per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show sampler&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show flow-sampler&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information about sampler maps&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #6fa8dc; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Onboard Fault Logging   (OBFL)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #6fa8dc; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Onboard Fault Logging (OBFL)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #6fa8dc; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   boot-uptime&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module # uptime&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL boot and uptime information per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   counter-stats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL counter statistics per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   device-version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL device version information per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   endtime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module # end&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL logs till end time mm/dd/yy-HH:MM:SS per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   environmental-history&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module # temperature&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL environmental history per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   error-stats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL error statistics per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   exception-log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL exception log per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   interrupt-stats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module # interrupt&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL interrupt statistics per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   kernel-trace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL Kernel Trace per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   module&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL information for Module per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   obfl-history&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL history information per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   stack-trace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL kernel stack trace per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   starttime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module # start&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL logs from start time mm/dd/yy-HH:MM:SS per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module #   status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging onboard module # status&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays OBFL status enable/disable per module&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #8e7cc3; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS RMON&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #8e7cc3; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS RMON&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #8e7cc3; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon alarms&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon alarms&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays configured RMON alarms&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon events&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon events&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays configured RMON Events&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon hcalarms&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information for 64 bit alarms&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon logs&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show rmon history&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays RMON log messages&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #c27ba0; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS SNMP&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #c27ba0; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS SNMP&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #c27ba0; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays SNMP Counters, Users, Community Strings, etc...&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp community&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp community&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the SNMP community strings&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp context&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp context&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the SNMP Context mapping&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp engineID&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp engineID&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays Hex and Decimal SNMP Engine ID&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp group&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp group&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays configured SNMP groups/roles&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp host&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp host&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays Host specific information&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp sessions&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp sessions&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays active SNMP sessions&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp trap&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays what traps are enabled&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp user&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show snmp user&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays SNMP users and notification targets (v3)&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #a64d79; color: white; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Switch Port Analyzer   (SPAN)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #a64d79; color: white; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Switch Port Analyzer (SPAN)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #a64d79; color: white; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show monitor session #&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show monitor session #&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays a specific sSPAN session&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show monitor session all&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show monitor session all&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays all SPAN sessions&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show monitor range #-#&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show monitor range #-#&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays a range of specified SPAN sessions&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;17&quot; style=&quot;background-color: #674ea7; color: white; font-family: inherit; height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS Logging (Syslog)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #674ea7; color: white; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS Logging (Syslog)&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #674ea7; color: white; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays how logging is configured with log&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging info&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays how logging is configured without log&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging last #&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the last &quot;#&quot; of log messages&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging level&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the Facility, Default Severity, and Configured Severity&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging logfile&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays all of the Syslog information&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging module&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the module logging configuration&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging monitor&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the monitor logging configuration&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging nvram&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the Severity 0, 1, and 2 message stored in NVRAM&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging server&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays information for each configured syslog server&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show logging timestamp&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the configured timestamp for log messages&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;18&quot; style=&quot;background-color: #3d85c6; font-family: inherit; height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS NTP&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #3d85c6; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS NTP&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #3d85c6; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp peers&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp associations&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays what NTP peers are configured&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp peer-status&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp status (not on a peer basis)&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Shows the status of each NTP peer&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp source&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the source IP address for the NTP service&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp statistics peer ipaddr x.x.x.x&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show statistics for each NTP peer&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show ntp timestamp-status&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays if the timestamp check is enabled&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;   &lt;td class=&quot;xl66&quot; height=&quot;18&quot; style=&quot;background-color: #45818e; font-family: inherit; height: 13.5pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;NX-OS XML&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #45818e; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IOS XML&lt;/span&gt;&lt;/td&gt;   &lt;td class=&quot;xl66&quot; style=&quot;background-color: #45818e; font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Command Description&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show xml server logging&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays XML Logging&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;   &lt;td height=&quot;17&quot; style=&quot;height: 12.75pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;show xml server status&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;N/A&lt;/span&gt;&lt;/td&gt;   &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays XML Server Status&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You can also find the same kind of material on the following link&lt;br /&gt;
&lt;a href=&quot;http://docwiki.cisco.com/wiki/Cisco_Nexus_7000_NX-OS/IOS_Comparison_Tech_Notes&quot; target=&quot;_blank&quot;&gt;http://docwiki.cisco.com/wiki/Cisco_Nexus_7000_NX-OS/IOS_Comparison_Tech_Notes&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/7399321877447984114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/commands-cisco-nx-os-and-ios-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/7399321877447984114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/7399321877447984114'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/commands-cisco-nx-os-and-ios-command.html' title='COMMANDS: A Primer on Some of the Differences Between IOS and NX-OS'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-9028757584710755621</id><published>2012-01-16T00:31:00.000-08:00</published><updated>2012-01-16T08:05:57.690-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="collect"/><category scheme="http://www.blogger.com/atom/ns#" term="counters"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="top"/><title type='text'>COMMANDS: CISCO IOS Enabling Top N Utility Report Creation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
One of the hardest things to remember is using the TOP N uility on some IOS based devices.&amp;nbsp; The following are some commands that help me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enabling Top N Utility Report Creation&lt;br /&gt;
&lt;br /&gt;
This examples shows how to enable Top N Utility report creation for an interval of 76 seconds for the four ports with the highest utilization:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;collect top 4 counters interface all sort-by utilization interval 76&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;collect top counters interface all sort-by utilization interval 76&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;collect top counters interface all interface 76 &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Displaying all the Top N Utility Reports&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;show top counters interface report&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This example shows how to display a specific Top N Utility report&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;show top counters interface report 1 &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Clearing Top N Utility Reports (All)&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;clear top counters interface report &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Clearing Top N Utility Report 4&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;clear top counters interface report 4&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/9028757584710755621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/commands-cisco-ios-enabling-top-n.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/9028757584710755621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/9028757584710755621'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/commands-cisco-ios-enabling-top-n.html' title='COMMANDS: CISCO IOS Enabling Top N Utility Report Creation'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-3011615949742880605</id><published>2012-01-16T00:08:00.000-08:00</published><updated>2012-01-16T08:05:27.623-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="flow-export"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="netflow"/><category scheme="http://www.blogger.com/atom/ns#" term="route-cache"/><title type='text'>CONFIGURATION: CISCO NETFLOW</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After going through a sea of documentation regarding Netflow, I wanted to come up with the basic guide of how to turn it on and apply it.&lt;br /&gt;
&lt;br /&gt;
The first rule of netflow is that you can ONLY collect information on a routed interface &lt;br /&gt;
&lt;br /&gt;
! Lock the SNMP ifIndex - prevents ifIndex drift after router reboot&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;snmp-server ifindex persist&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
! Make sure you have the correct community string&lt;br /&gt;
! This is mostly a NetQoS requirement; but it&#39;s usually required&lt;br /&gt;
! by any NetFlow collecting device that needs to verify the device&lt;br /&gt;
! it&#39;s collecting from.&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;snmp-server community &lt;i&gt;community_name&lt;/i&gt; RO&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
! Enable NetFlow export globally&lt;br /&gt;
! Using loopback&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ip flow-export version 5&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ip flow-export source lo0&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ip flow-cache timeout active 1&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
! Set export destination&amp;nbsp; and port to closest Netflow Collector. The port&lt;br /&gt;
! listed below is based on NetQOS product&lt;br /&gt;
! other Netflow collectors might use a different port&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ip flow-export destination &lt;i&gt;IP_ADDRESS&lt;/i&gt; &lt;i&gt;9995 &lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
! MLS commands are required for Sup720 running Native IOS ONLY&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 15px; line-height: 20px;&quot;&gt;&lt;b&gt;mls nde sender version 5&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;mls flow ip interface-full&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;mls nde interface&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;mls aging long 64&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;mls aging fast threshold 1 time 64&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that Netflow is turned on we need to apply the commands to a routed interface.&amp;nbsp; The following are examples of interfaces where netflow is applied on:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;int fa3/1&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;ip route-cache flow&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;int s2/0/0&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;ip route-cache flow&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;b&gt;int gig4/0&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;ip route-cache flow&lt;/b&gt;&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;int vlan123&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;ip route-cache flow&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/3011615949742880605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/configuration-cisco-netflow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/3011615949742880605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/3011615949742880605'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/configuration-cisco-netflow.html' title='CONFIGURATION: CISCO NETFLOW'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-960544998919832743</id><published>2012-01-15T11:17:00.000-08:00</published><updated>2012-01-16T08:07:50.299-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bin"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="file transfer"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="image download"/><category scheme="http://www.blogger.com/atom/ns#" term="image upload"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="tftp"/><title type='text'>COMMAND REFERENCE: CISCO IOS FTP and TFTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I don&#39;t know how many times someone has forgotten the following set of commands.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;FTP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;config t&lt;br /&gt;
ip ftp username &lt;username&gt;&lt;/username&gt;&lt;br /&gt;
ip ftp password &lt;password&gt;&lt;/password&gt;&lt;br /&gt;
ip ftp source-interface loopback0&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;# You need to run this the first time if the command has never been used.&amp;nbsp; Performing the statements below insures that passive is turned off.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip ftp passive&lt;br /&gt;
no ip ftp passive&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Examples of commands:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;copy ftp://ip_address_of_ftp_server/filename.bin bootflash:filename.bin&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
copy ftp://ip_address_of_ftp_server/filename.bin sup-bootflash:filename.bin&lt;/b&gt;&lt;ip address=&quot;&quot; bootflash:filename.bin&quot;&lt;=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;ip address=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot; sup-bootflash:filename.bin&quot;&lt;=&quot;&quot;&gt;&lt;ip address=&quot;&quot; bootflash:filename.bin&lt;=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;ip address=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot; sup-bootflash:filename.bin&lt;=&quot;&quot;&gt;&lt;/ip&gt;&lt;/span&gt;&lt;/ip&gt;&lt;/ip&gt;&lt;/span&gt;&lt;/ip&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;----------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;TFTP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;config t&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip ftp source-interface loopback0&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Examples of commands:&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;copy tftp://ip_address_of_tftp_server/filename.bin bootflash:filename.bin&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;copy tftp://&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip_address_of_tftp_server&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;/filename.bin sup-bootflash:filename.bin&lt;/b&gt;&lt;/span&gt;&lt;ip address=&quot;&quot; bootflash:filename.bin&lt;br=&quot;&quot; filename.bin=&quot;&quot; of=&quot;&quot; server=&quot;&quot; style=&quot;font-family: inherit;&quot; tftp=&quot;&quot;&gt;&lt;ip address=&quot;&quot; bootflash:filename.bin&lt;=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot; sup-bootflash:filename.bin&lt;ip=&quot;&quot; tftp=&quot;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;ip address=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot; sup-bootflash:filename.bin&lt;=&quot;&quot;&gt;&lt;br /&gt;
&lt;/ip&gt;&lt;/span&gt;&lt;ip address=&quot;&quot; bootflash:filename.bin&lt;=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;ip address=&quot;&quot; filename.bin=&quot;&quot; ftp=&quot;&quot; of=&quot;&quot; server=&quot;&quot; span=&quot;&quot; sup-bootflash:filename.bin&lt;=&quot;&quot;&gt;&lt;/ip&gt;&lt;/span&gt;&lt;/ip&gt;&lt;/ip&gt;&lt;/ip&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/960544998919832743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/command-reference-cisco-ios-ftp-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/960544998919832743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/960544998919832743'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/command-reference-cisco-ios-ftp-and.html' title='COMMAND REFERENCE: CISCO IOS FTP and TFTP'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-5342204631154906328</id><published>2012-01-15T10:26:00.000-08:00</published><updated>2012-01-16T08:11:13.032-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="1024"/><category scheme="http://www.blogger.com/atom/ns#" term="ca zero"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="mypubkey"/><category scheme="http://www.blogger.com/atom/ns#" term="pix"/><category scheme="http://www.blogger.com/atom/ns#" term="rsa"/><category scheme="http://www.blogger.com/atom/ns#" term="show"/><title type='text'>COMMAND REFERENCE: CISCO PIX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;From time to time I kick myself for not knowing certain commands that I take for granted.&amp;nbsp; Here they are&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt; Description: Sometimes PIX PDM is inaccessible because the SSL key is corrupted or you setting up the PDF for the first time.&amp;nbsp; I found these sequence of commands useful&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;ca zero rsa&lt;/span&gt;&lt;br style=&quot;color: black;&quot; /&gt;&lt;span style=&quot;color: black;&quot;&gt;Hostname devicename&lt;/span&gt;&lt;br style=&quot;color: black;&quot; /&gt;&lt;span style=&quot;color: black;&quot;&gt;domain-name dot.com&lt;/span&gt;&lt;br style=&quot;color: black;&quot; /&gt;&lt;span style=&quot;color: black;&quot;&gt;ca gen rsa key 2048&lt;/span&gt;&lt;br style=&quot;color: black;&quot; /&gt;&lt;span style=&quot;color: black;&quot;&gt;ca save all&lt;/span&gt;&lt;br style=&quot;color: black;&quot; /&gt;&lt;span style=&quot;color: black;&quot;&gt;show ca mypubkey rsa&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&lt;b&gt;Various other useful commands&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show object-group service&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;- Lists the services&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;sh&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ow object-group - Lists all groups including services &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;show failover&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;- shows the failover information&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show version&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; - shows the version including serial number of the PIX&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show access-list&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; – shows all access list even shows details within a groups&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show access-list | inc TEXT&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; – shows specific filtered results&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show access-list | beg TEXT&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; - &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Shows the start of content beginning with what is contain in TEXT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;b style=&quot;color: black;&quot;&gt;sho config&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;– shows the entire config&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show config | inc TEXT&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; – shows a filtered config&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show config | beg TEXT&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;- &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Shows the start of content beginning with what is contain in TEXT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;show nat&lt;/b&gt; &lt;/span&gt;– lists NAT access-list&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;Troubleshooting commands&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show arp&lt;/span&gt;&lt;/b&gt; &lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;– shows the arp table (Layer 4)&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ping &lt;i&gt;IP_ADDRESS&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;– pings the ip addresses&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show cpu usage&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;– show cpu utilization for 5 seconds, 1 minute and 5 minutes&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show conn&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;– shows the connections table at the given time&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show memory&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt; – shows memory block&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;show xlate&lt;/span&gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;– shows translation address (NAT) in memory&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show processes&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt; – shows different firewall processes&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show static&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;– Shows static address&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show route&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;– shows routing information&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show logging&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; – &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Shows all the alerts stored on the PIX (disappears when rebooted)&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/5342204631154906328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/command-reference-cisco-pix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/5342204631154906328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/5342204631154906328'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/command-reference-cisco-pix.html' title='COMMAND REFERENCE: CISCO PIX'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-7084797039416193883</id><published>2012-01-15T08:54:00.000-08:00</published><updated>2012-01-16T11:42:01.269-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bigip"/><category scheme="http://www.blogger.com/atom/ns#" term="cli"/><category scheme="http://www.blogger.com/atom/ns#" term="commands"/><category scheme="http://www.blogger.com/atom/ns#" term="F5"/><category scheme="http://www.blogger.com/atom/ns#" term="gtm"/><category scheme="http://www.blogger.com/atom/ns#" term="linux commands"/><category scheme="http://www.blogger.com/atom/ns#" term="ltm"/><category scheme="http://www.blogger.com/atom/ns#" term="reference"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="shell commands"/><category scheme="http://www.blogger.com/atom/ns#" term="tcpdump"/><category scheme="http://www.blogger.com/atom/ns#" term="tmsh"/><category scheme="http://www.blogger.com/atom/ns#" term="v10"/><category scheme="http://www.blogger.com/atom/ns#" term="v11"/><category scheme="http://www.blogger.com/atom/ns#" term="v9"/><title type='text'>COMMAND REFERENCE: F5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
F5 is a vendor that provides various types of traffic engineering productions such as Application Load Balancing, DNS Load balancing, SSL VPN, etc. etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the things I find useful is keeping reference of certain commands that help me with my day to day adminstration.&lt;br /&gt;
&lt;br /&gt;
Here are some helpful commands:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&lt;strong style=&quot;background-color: #e06666;&quot;&gt;v9 and v10 Bigpipe&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;b summary&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Get&#39;s all kinds of information regarding the Load balancer, &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;b conn dump&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Shows connections...this can be used with Excel to sort the connections.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;b conn | grep &lt;/span&gt;&lt;em style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;IP_ADDRESS&lt;/em&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;strong&gt; | awk &#39;{print $1 }&#39; | cut -d : -f 1 | uniq -c | sor&lt;/strong&gt;t&lt;/span&gt; -&lt;span style=&quot;font-family: inherit;&quot;&gt; Shows all connections&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; based on &lt;em&gt;IP_ADDRESS&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&lt;strong style=&quot;background-color: #f6b26b;&quot;&gt;Shell&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;qkview&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Get&#39;s a diagnostics view of the entire load balancers - used for Troubleshooting&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;bigtop&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; -n&amp;nbsp; All vips and nodes and to see which traffic is going where&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;top&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Shows the highest order of processes&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;cpu bigip&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Shows CPU (only for v4)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;lsof –n&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; Lists all open files in Linux&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;watch –n1 b virtual  ­- &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;This will display the outputs in realtime&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;watch –n1 b pool  - &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;This will display the outputs in realtime&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;cat /var/log/ltm | grep &#39;Node&#39; |grep &#39;&#39; | sort -t . -k 3,3n -k 4,4n&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;awk &#39;BEGIN {RS=&quot;}&quot;;FS=RS} /&lt;i&gt;PATTERN&lt;/i&gt;/ {print $1&quot;}&quot;;} &#39; /config/bigip.conf &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;- &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ALLOWS you to go through bigip.conf and look for all virtuals that contain the &lt;i&gt;PATTERN&lt;/i&gt; you defined.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&lt;strong style=&quot;background-color: #f1c232;&quot;&gt;Packet Analysis&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump ni  host &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;- This is to view on the console&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump ni  -s1600 host  -w /var/tmp/test.cap&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;This is to capture to a file&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump ni 0.0 host &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - This views the aggregate traffic of all interfaces&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump –ni 0.0 –s1600 host  -w /var/tmp/test.cap&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - This captures to a file looking at the aggregate interface&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump ni  ‘host   (host )’ – &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;This captures host for multiple hosts&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump ni  -1600 ‘host  or (host )’ –w /var/tmp/test.cap&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump ni 0.0 ‘host   (host )’&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;tcpdump -ni &amp;nbsp; -s 0 &#39;tcp[tcpflags] &amp;amp; (tcp-syn) != 0&#39; – &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;this capture traffic without SYN&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&lt;strong style=&quot;background-color: #6aa84f;&quot;&gt;TMSH v10 or up&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;You need to enter tmsh at the CLI to get into TMSH shell&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys version detail&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – view system version and hotfix detailed information&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys version&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – view system version and hotfix summary information&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – General system configuration&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys cpu&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - CPU statistics of system overall performance and on management hosts.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys hardware&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - View hardware information&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys ha-status&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Displays the settings and status for high availability on a system.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys host-info&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Host statistics, including system memory, CPU, and processor&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys ip-address&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - View configured IP addresses&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys log&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - View system log files&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys mac-address&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - View MAC addresses attached to the system&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys console&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Configure the serial console&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys license&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - View license information&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys service&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Controls the BIG-IP system services&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show sys connection&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Displays or deletes active connections on the BIG-IP system&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show config-sync&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Redundant system configuration synchronization&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show config-diff&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; - Displays differences between two SCF files or between a SCF and the running system.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show ltm&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – Local Traffic Manager&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show cli&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – local user settings and configuration transaction&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show net route&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – routing tables and configuration&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show net interface&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – shows the interface&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;show net arp&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt; – shows the F5s arp table&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;color: white; font-size: large;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: #45818e;&quot;&gt;SUPPORT COMMANDS&lt;/span&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: large;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit;&quot;&gt;
SCP to transfer a file, perform the following steps:&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;  &lt;br /&gt;
Use the following command syntax      to execute SCP: &lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;strong style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;scp -p &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;em&gt;local_filename&lt;/em&gt; &lt;em&gt;username@server:remote_filename&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;where :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;em&gt;&lt;strong&gt;local_filenam&lt;/strong&gt;&lt;strong&gt;e&lt;/strong&gt;&lt;/em&gt; is the name of the file you want to transfer. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;em&gt;&lt;strong&gt;username&lt;/strong&gt;&lt;/em&gt; is is the       name of a valid user account on the server to which you want to transfer       the file. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;em&gt;&lt;strong&gt;server&lt;/strong&gt;&lt;/em&gt; is theis the       IP address of the server to which you want to transfer the file. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;em&gt;&lt;strong&gt;remote_filename&lt;/strong&gt;&lt;/em&gt; is the       full pathname that you want to name the file on the system to which you       are transferring the file.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Example &lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;strong&gt;scp -p myfile.bin &lt;a href=&quot;mailto:root@10.90.101.50:/var/tmp/myfile.bin&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;root@10.90.101.50:/var/tmp/myfile.bin&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; --------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: #3d85c6; color: white; font-size: large;&quot;&gt;SNMP&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;How to look at each Virtual IP address&#39;s Maximum Connection&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;strong&gt;snmpwalk -c l0cal 127.0.0.1 F5-BIGIP-LOCAL-MIB::ltmVirtualAddrStatClientMaxConns|awk -F: &#39;$4 &amp;gt; 2000&#39;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Show all VIP addresses with MAX Conns greater than 200&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;strong&gt;snmpwalk -c l0cal 127.0.0.1 F5-BIGIP-LOCAL-MIB::ltmVirtualAddrStatClientMaxConns|awk -F: &#39;{if($4 &amp;gt; 200) print }&#39; &lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Show all VIP addresses with Curr Conns greater than 200&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;strong&gt;snmpwalk -c l0cal 127.0.0.1 F5-BIGIP-LOCAL-MIB::ltmVirtualAddrStatClientCurConns|awk -F: &#39;{if($4 &amp;gt; 200) print }&#39;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt; &lt;/strong&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Leave out the&lt;/span&gt; &lt;/span&gt;&lt;strong style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;awk&lt;/span&gt; -F: &#39;{if($4 &amp;gt; 200) print }&#39;&lt;/strong&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;to see all VIP addresses&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;NOTE: Make   sure that the F5 can accept SNMP requests from the local loopback.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/7084797039416193883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/command-reference-f5.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/7084797039416193883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/7084797039416193883'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/command-reference-f5.html' title='COMMAND REFERENCE: F5'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-8519740242820754302</id><published>2012-01-14T22:54:00.000-08:00</published><updated>2012-01-14T22:59:37.317-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asyncOS"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Ironport"/><category scheme="http://www.blogger.com/atom/ns#" term="logfile"/><category scheme="http://www.blogger.com/atom/ns#" term="squid"/><category scheme="http://www.blogger.com/atom/ns#" term="syntax"/><category scheme="http://www.blogger.com/atom/ns#" term="transactional result code"/><category scheme="http://www.blogger.com/atom/ns#" term="WSA"/><title type='text'>Cisco Ironport Squid Log Format Broken Down</title><content type='html'>One of the most interesting things about proxy log files that the syntax is a cryptic.&amp;nbsp;&amp;nbsp; Some companies have internally purchased off-the-self packages so they can be used to generate quick and meaningful data.&amp;nbsp;&amp;nbsp; However, I always found it useful to know these log files mean.&amp;nbsp; So without much do here is a reference that may be helpful to you.&amp;nbsp; I have color coded so it&#39;s easier to follow:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;1215535247.487&lt;/span&gt; &lt;span style=&quot;color: #e69138;&quot;&gt;123&lt;/span&gt; &lt;span style=&quot;color: #f1c232;&quot;&gt;172.20.11.222&lt;/span&gt; &lt;span style=&quot;color: #6aa84f;&quot;&gt;TCP_MISS&lt;/span&gt;/&lt;span style=&quot;color: #45818e;&quot;&gt;200&lt;/span&gt; &lt;span style=&quot;color: #45818e;&quot;&gt;14148&lt;/span&gt; &lt;span style=&quot;color: #3d85c6;&quot;&gt;GET HTTP://www.cisco.com/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;DIRECT/www.cisco.com&lt;/span&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt; text/html&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;1215535247.487 = %t Time stamp in Unix time (You can convert this by going to the following link (&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://tinyurl.com/72sbp3o&quot;&gt;http://tinyurl.com/72sbp3o&lt;/a&gt;)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;color: #e69138;&quot;&gt;123 = %e elapsed time&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;color: #f1c232;&quot;&gt;172.20.11.222 = %a Client IP address&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;b&gt;TCP_MISS = %w Transactional result code&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;color: #6aa84f;&quot;&gt;
&lt;li&gt;&lt;b&gt;NONE – Neither a hit nor a miss, indicates an error in the transaction&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_MEM_HIT – Object was cached in memory&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_DENIED – Access Denied&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_HIT - A valid copy of the requested object was in the cache.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_MISS - The requested object was not in the cache.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_REFRESH_HIT - An expired copy of the requested object was in the cache.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Squid made an If-Modified-Since request and the response was &quot;Not Modified.&quot;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_REFRESH_FAIL_HIT An expired copy of the requested object was in the&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;cache. Squid attempted to make an If-Modified-Since request, but it failed.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;The old (stale) object was delivered to the client.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_REFRESH_MISS - An expired copy of the requested object was in the cache.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Squid made an If-Modified-Since request and received a new, different&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;object. TCP_CLIENT_REFRESH The client issued a request with the &quot;no-cache&quot;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;pragma. (&quot;reload&quot; - handled as MISS)&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_IMS_HIT - An If-Modified-Since GET request was received from the client.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;A valid copy of the object was in the cache (fresh).&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_IMS_MISS - An If-Modified-Since GET request was received from the&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;client. The requested object was not in the cache (stale).&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TCP_SWAPFAIL - The object was believed to be in the cache, but could not be&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;accessed. TCP_DENIED Access was denied for this request.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;b&gt;200 = %h HTTP Response Code&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;color: #6aa84f;&quot;&gt;
&lt;li&gt;&lt;b&gt;200 - OK&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;204 - No Content&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;206 - Partial content&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;301 - Moved Permanenatly&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;302 - Found (over there)&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;304 - Not modified&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;305 - Use Proxy&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;307 - Temporary Redirect&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;401 - Unauthorized&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;403 - Forbidden&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;404 - Not Found&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;405 - Method not allowed&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;407 - Proxy Authorization Required&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;503 - Service Unavailable&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;504 - Gateway timeout&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #45818e;&quot;&gt;
&lt;b&gt;14148 = %s Total bytes transferred&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;GET HTTP://www.cisco.com/ = %r Request method URI&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;color: #674ea7;&quot;&gt;
&lt;b&gt;DIRECT/www.cisco.com = %H – Cache hierchy retrieval&lt;/b&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;NONE – No request made&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;DIRECT – request went directly to server&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;DEFAULT_PARENT – Single upstream proxy or failover&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;LEASTBUSY_PARENT – Fewest Connections&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;HASHBASED_PARENT – Hash based load balancing&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;LEASTRECENT_PARENT – Least recently used&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;ROUNDROBIN_PARENT – Round robin load balancing &lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #a64d79;&quot;&gt;
&lt;b&gt;text/html = %c – MIME content type/subtype&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;color: #a64d79;&quot;&gt;
&lt;li&gt;&lt;b&gt;text/plain – simple text&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/8519740242820754302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/squid-log-format-broken-down.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/8519740242820754302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/8519740242820754302'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/squid-log-format-broken-down.html' title='Cisco Ironport Squid Log Format Broken Down'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-4093260275942193767</id><published>2012-01-14T22:24:00.000-08:00</published><updated>2012-01-15T07:56:35.292-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access-list"/><category scheme="http://www.blogger.com/atom/ns#" term="bypass"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="F5"/><category scheme="http://www.blogger.com/atom/ns#" term="gateway"/><category scheme="http://www.blogger.com/atom/ns#" term="IP"/><category scheme="http://www.blogger.com/atom/ns#" term="load balancing"/><category scheme="http://www.blogger.com/atom/ns#" term="NAS"/><category scheme="http://www.blogger.com/atom/ns#" term="nexus"/><category scheme="http://www.blogger.com/atom/ns#" term="NX"/><category scheme="http://www.blogger.com/atom/ns#" term="NX-OS"/><category scheme="http://www.blogger.com/atom/ns#" term="peer gateway"/><category scheme="http://www.blogger.com/atom/ns#" term="router"/><category scheme="http://www.blogger.com/atom/ns#" term="vlan"/><category scheme="http://www.blogger.com/atom/ns#" term="vpc"/><title type='text'>Cisco NX VLAN to VLAN F5 Bypass</title><content type='html'>&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If you recall in my previous blog &quot;&lt;/span&gt;&lt;a href=&quot;http://infobhatt.blogspot.com/2012/01/cisco-ios-vlan-to-vlan-f5-bypass.html&quot; rel=&quot;bookmark&quot; style=&quot;font-family: inherit;&quot;&gt;Cisco IOS VLAN to VLAN F5 Bypass&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&quot;&amp;nbsp; we dealt with a specific&amp;nbsp;&lt;/span&gt;scenario&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;between F5 and Cisco IOS. &amp;nbsp; In this new scenerio we are now dealing with Cisco NX operating system.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;&lt;i&gt;“I
have a pair of F5 ADC in an Internet DMZ, where nodes behind the load balancer
need to access NAS system(s) on a VLAN located on a separate VLAN that is not
behind the load balancer. The problem is that in my current design I have to
route through the F5 Load balancer to access the NAS system(s).&amp;nbsp;
Unfortunately the amount of bandwidth it takes supersedes the F5 ADC’s total
throughput.&amp;nbsp; I would like to bypass this without adding extra network
cards or recreating a new VLAN and would like preserve the IP addresses as much
as possible.&amp;nbsp; Also the F5 ADC is sitting
on a network design that participates in vPC within Cisco Nexus Data center
gear&quot;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Based
on this description above you extrapolate a high-level logical network design
as shown in Figure 1 ( I have removed vPC design for now as you read on you
will see it introduced into the article&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; font-family: inherit; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1fux9JZpbYcdvLRZ9rMy1yrxmAK-LjLM06cdZny2kx1CUKVi7ebseHkfgsaHdp5ZG6tzmFTUNd-Nwr75PTJ960XkA-6cGdIi4WweI1c-OK3RAesQET1eXeLhS-xfLrTIsSmdEUtLHMhcP/s1600/F5+VLAN-to-VLAN+Bypass.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1fux9JZpbYcdvLRZ9rMy1yrxmAK-LjLM06cdZny2kx1CUKVi7ebseHkfgsaHdp5ZG6tzmFTUNd-Nwr75PTJ960XkA-6cGdIi4WweI1c-OK3RAesQET1eXeLhS-xfLrTIsSmdEUtLHMhcP/s640/F5+VLAN-to-VLAN+Bypass.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Figure 1&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&amp;nbsp;

&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;In
the figure 1, we VIP VLAN which is a routable VLAN. Node VLAN is a non-routable
VLAN, which is strictly Layer 2.&amp;nbsp; Since
the VLAN is non-routable no external devices except the F5 can access the Nodes
directly.&amp;nbsp; Finally we have Server VLAN Z which is where the NAS system is
connected to.&amp;nbsp; In order to have communication between Server VLAN Z and
Node VLAN, the traffic must route through the F5 via VIP VLAN. This is done by
a static route pointing to .11 on VIP VLAN which is the F5 floating address on
VIP VLAN to reach node VLAN address block. In figure 1 you also have all
servers in Node VLAN pointing to .1 as their default gateway which is the
floating address of the F5. The F5’s default gateway is .1 on VIP VLAN. Now
that we have described the current behavior of Figure 1, we can start looking
at making some changes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;So
how do we change the network to accommodate the result that is being looked
for? It is actually much easier then you might think.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The
first item you want to remove is the static route on the switch pointing to
point to .11 on VIP VLAN to access NODE VLAN. You will not need this since the
end result is to allow SERVER VLAN and NODE VLAN to communicate directly via
the Cisco Nexus Switch router.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next
you will need to change NODE VLAN from a non-routable network to a routable
network. Thus, NODE VLAN will have a gateway of .1 on the switch router. The F5
will then change its own floating address to say .11 and subsequently change
the self-addresses to .12 and .13.&amp;nbsp; All
the servers in NODE VLAN will continue to use .1&amp;nbsp; as the default gateway.&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; font-family: inherit; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdnDVZz-7AkQ-byEXDgU8eSFreMXf3ca4_aotiepa63hZr7l_DoLfpQd8YC9J6U_WDx-8664G9aoOaAA-jEeXsGJcbD8XFX3YuLY1tknrAWeEIj6y8IjRPL0XCzsQKq4cuiAPMdwIwI4yj/s1600/F5+VLAN-to-VLAN+Bypass2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdnDVZz-7AkQ-byEXDgU8eSFreMXf3ca4_aotiepa63hZr7l_DoLfpQd8YC9J6U_WDx-8664G9aoOaAA-jEeXsGJcbD8XFX3YuLY1tknrAWeEIj6y8IjRPL0XCzsQKq4cuiAPMdwIwI4yj/s640/F5+VLAN-to-VLAN+Bypass2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Figure 2&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;

&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;At
this point, you are thinking how is the traffic going to return to F5 load
balancer when it’s traffic via VIP. The easy way is to apply SNAT Automap.
Which works, but then you run into another problem where you lose the client IP
address. Normally this might be work, but will make tracking clients more
difficult especially around traffic that is not HTTP based.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The
short answer to this is utilizing a Cisco’s Policy Based Route. How does that
work?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;On a
Cisco switch router, you can do the following configuration (NX OS Syntax)&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip access-list from_node_vlan_deny&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;10 permit ip
y.y.y.0/24 z.z.z.0/24&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip access-list from_node_vlan_allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;10 permit ip
y.y.y.0/24 any&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;route map to_node_vlan deny 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; match ip
address from_node_vlan_deny&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;route map to_node_vlan permit 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;match ip
address from_node_vlan_allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;set ip
next-hop y.y.y.11&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;interface VIP_VLAN&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;ip policy
route-map to_node_vlan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;NOTE:
You must have feature pbr enabled.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If
you are a student of Cisco IOS you might notice that IP access-list does not
contain deny statements.&amp;nbsp; This is because
PBR statements in the Nexus OS was designed to ignore the deny statements
within IP access-lists.&amp;nbsp; I haven’t
received an official reason of why this happened, but the best case was that
they wanted&amp;nbsp; to make the ultimate
PERMIT/DENY decision at the route map level.&amp;nbsp;&amp;nbsp;
The good news is that this new behavior only exists when applied to the
pBR. Meaning Deny statements within an IP access-list will not be ignored when
applying as a standard ACL for security access.&amp;nbsp;&amp;nbsp; Also you can use the same access-list for
security access and route-maps so just keep in mind that that DENY statements
will be ignored by the route-maps ONLY. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Looking
at the configuration above, the behavior is that if the NODE VLAN traffic is
destined to the SERVER VLAN, skip the route-map statement and use the internal
routing table of the switch. This allows NODE VLAN to communicate directly to
SERVER VLAN and vice versa. Subsequently, if traffic from NODE VLAN is
attempting to reach to the internet then it will match the IP access-list
“from_node_vlan_allow” within route map “to_node_vlan permit 10”.&amp;nbsp; Once that is done it will process the next
command, which is sending the traffic to the next hop of y.y.y.11 (Floating
address of the F5) within NODE VLAN. &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If
we left everything alone, this story would be complete.&amp;nbsp;&amp;nbsp; Unfortunately, the network example I used is
also using vPC, which adds another layer of complexity, which needs to be
accounted for in our Cisco configuration.&amp;nbsp;&amp;nbsp;
Figure 3 shows us what a vPC topology would look like with an F5
attached.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; font-family: inherit; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL8rMNVq-QzjiL5qkevwr-lFRxtJqDkc8CqbC_G0nSGCAQCvkeSMETChlUWLYQSNLs832uQWhhnXx_vGy5eSP61QMJSNO2eV6vgpP5Xm1z3yWwTUv31GhcHESbzoVqS16kZXAhI1L6SJCK/s1600/F5+VLAN-to-VLAN+Bypass3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL8rMNVq-QzjiL5qkevwr-lFRxtJqDkc8CqbC_G0nSGCAQCvkeSMETChlUWLYQSNLs832uQWhhnXx_vGy5eSP61QMJSNO2eV6vgpP5Xm1z3yWwTUv31GhcHESbzoVqS16kZXAhI1L6SJCK/s640/F5+VLAN-to-VLAN+Bypass3.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Figure 3&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;

&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You
see F5 along with other vendors decided to optimize the packets by ignoring the
arp reply given by the HSRP primary and instead forwards Ethernet frames to whichever
MAC address it receives frames from the result is a faster response time.&amp;nbsp;&amp;nbsp; Unfortunately, this is a nonstandard
behavior.&amp;nbsp;&amp;nbsp; If you are well versed enough
on the F5 you would immediately think to turn off the auto Last hop feature
would counteract this behavior.&amp;nbsp;
Unfortunately, this does not work in Cisco Nexus OS world.&amp;nbsp; Cisco recognized that many vendors had this
same issue so they introduced the command “peer-gateway” command. This command
in affect disabled the optimization. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Therefore,
you would introduce the command in the following configuration example, in our
diagram it would be on Nexus 7010 MDF A and MDF B&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;vpc domain 1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; role
priority 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;
peer-keepalive destination 10.1.1.2 source 10.1.1.1 vrf VPC-KeepAlive&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &lt;b&gt;peer-gateway&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Of course,
this is still not end of the story because peer-gateway has a caveat as stated
in the Nexus OS Layer 2 guide&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-left: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Packets
arriving at the peer-gateway vPC device will have their TTL decremented, so
packets carrying TTL = 1 may be dropped in transit due to TTL expire. This
needs to be taken into account when the peer-gateway feature is enabled and
particular network protocols sourcing packets with TTL = 1 operate on a vPC
VLAN.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This
means that the traffic will be treated like a layer 3 hop which means we need
to make small adjustment in our access list&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;From&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip access-list from_node_vlan_deny&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;10 permit ip
y.y.y.0/24 z.z.z.0/24&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip access-list from_node_vlan_allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;10 permit ip
y.y.y.0/24 any&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;route map to_node_vlan deny 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; match ip
address from_node_vlan_deny&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;route map to_node_vlan permit 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;match ip
address from_node_vlan_allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;set ip
next-hop y.y.y.11&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;interface VIP_VLAN&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;ip policy
route-map to_node_vlan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;to&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip access-list from_node_vlan_deny&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;5 permit ip
y.y.y.0/24 y.y.y.0/24 &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;10 permit ip
y.y.y.0/24 z.z.z.0/24&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ip access-list from_node_vlan_allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;10 permit ip
y.y.y.0/24 any&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;route map to_node_vlan deny 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; match ip
address from_node_vlan_deny&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;route map to_node_vlan permit 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;match ip
address from_node_vlan_allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;set ip
next-hop y.y.y.11&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;interface VIP_VLAN&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;ip policy
route-map to_node_vlan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If
you have been following closely on the difference you might be wondering, why
should you have a permit for traffic between NODE VLAN to NODE VLAN?&amp;nbsp; After all the access-list looks at Layer 3,
not Layer 2 traffic.&amp;nbsp;&amp;nbsp; As I mentioned
above “&lt;i&gt;Packets arriving at the
peer-gateway vPC device will have their TTL decremented…&lt;/i&gt;”&amp;nbsp; Which means that Layer 2 traffic under vPC
Peer Gateway will treat any traffic within that VLAN as a layer 3 hop and it
will be processed within the access-list.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Conclusion&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If
you are running a F5 ADC which routes through F5 Nexus devices, then you don’t
need peer-gateway , but you will if you
are directly attached to a Nexus Device that is configured to use
vPC.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I
have yet to face any issues with this configuration so it might be a good idea
to add Peer-gateway into your vPC configuration as a default.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/4093260275942193767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/cisco-nx-vlan-to-vlan-f5-bypass.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/4093260275942193767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/4093260275942193767'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/cisco-nx-vlan-to-vlan-f5-bypass.html' title='Cisco NX VLAN to VLAN F5 Bypass'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1fux9JZpbYcdvLRZ9rMy1yrxmAK-LjLM06cdZny2kx1CUKVi7ebseHkfgsaHdp5ZG6tzmFTUNd-Nwr75PTJ960XkA-6cGdIi4WweI1c-OK3RAesQET1eXeLhS-xfLrTIsSmdEUtLHMhcP/s72-c/F5+VLAN-to-VLAN+Bypass.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2430283562800055903.post-5113427675135648866</id><published>2012-01-14T18:20:00.000-08:00</published><updated>2012-01-15T08:05:37.047-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bypass"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="F5"/><category scheme="http://www.blogger.com/atom/ns#" term="f5 router"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="IP"/><category scheme="http://www.blogger.com/atom/ns#" term="Load balancer"/><category scheme="http://www.blogger.com/atom/ns#" term="NAS"/><category scheme="http://www.blogger.com/atom/ns#" term="throughput"/><category scheme="http://www.blogger.com/atom/ns#" term="vlan"/><title type='text'>Cisco IOS VLAN to VLAN F5 Bypass</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;From time to time, I usually receive a request that goes something like
this.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;“I have a pair of F5 ADC in an Internet DMZ, where the servers behind the
load balancer need to access NAS system(s) on a VLAN located in the same
network on another VLAN that is not behind the load balancer.&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The problem is that in my current design I have to route through the F5 Load
balancer to access the NAS system(s).&amp;nbsp; Unfortunately the amount of
bandwidth it takes supersedes the F5 ADC’s total throughput.&amp;nbsp; I would like
to by pass this without adding extra network cards or recreating a new VLAN and
would like preserve the IP addresses as much as possible.”&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For the purposes of the blog we will call the person requesting this Keyser Söze.&amp;nbsp;&amp;nbsp; Yes I have to call him Keyser.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Based on this description above you can extrapolate a high-level logical network
design as shown in Figure 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Figure 1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicWA8Ecr7uTh9yDh4f_ZJliBG5lXAhlr-3_FPrzm8ocuRRXYrN4orsvRDByG_A-8X2LTy7cV9nNgJvkfwyHtU-aVYKEhkh8T2-Xhi_Q9R-9WPMiX3o3kwrf12rvwnMuomUJndluDPo30g/s1600/fig1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicWA8Ecr7uTh9yDh4f_ZJliBG5lXAhlr-3_FPrzm8ocuRRXYrN4orsvRDByG_A-8X2LTy7cV9nNgJvkfwyHtU-aVYKEhkh8T2-Xhi_Q9R-9WPMiX3o3kwrf12rvwnMuomUJndluDPo30g/s640/fig1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;In the figure 1, we have the following VLANS&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;VLAN 10 - Which is for VIPs (Virtual IP addresses).&amp;nbsp; The VLAN is routable via Cisco HSRP.&amp;nbsp;&amp;nbsp; Gateway is .1.&amp;nbsp; The F5&#39;s floating address will be .11.&amp;nbsp; The floating address is used as the NEXT HOP to get to VLAN 11.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;VLAN 11 - Where the Servers that will be load balanced -&amp;nbsp; is a non Cisco routable VLAN.&amp;nbsp; From Cisco&#39;s perspective it&#39;s simply a VLAN without HSRP.&amp;nbsp;&amp;nbsp; The gateway for this segment is on the F5 which is .1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;VLAN 12 - This is a routable VLAN similar to VLAN 10, except there are physical servers on this segment.&amp;nbsp; In our case this is where the NAS will sit.&amp;nbsp; The gateway is .1 for the NAS.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here are some facts we know about this design&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;VLAN 12 is accessible by any part of this network&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;VLAN 10 has a floating IP address which is the shared address between F5.&amp;nbsp; It is used in scenario to be the gateway to the segment in VLAN 11&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In order for a Web server in VLAN 11 to access the NAS server in VLAN12 and vice versa, the F5 is the router.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;There is nothing entirely wrong with this done and it most cases this works.&amp;nbsp; However, Keyser is worried that multiple web servers in VLAN 11 will request so much content from the NAS server in VLAN 12 that there is a throughput concern.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;So how do we change the network to accommodate the result that Kyser is
looking for?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;It is actually much easier then you might think.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For the purposes of this explanation, let us assume the switches are
connected on Cisco Switch routers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The first item you want to remove is the the static route on the switch
pointing to point to .11 on VLAN10 to access VLAN12. You will not need this
since the end result is to allow VLAN 12 and VLAN 11 to communicate directly
via the Cisco Switch router.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next you will need to change VLAN11 from a non-routable network to a
routable network. Thus, VLAN 11 will have a gateway of .1 on the switch router.
The F5 will then change its own floating address to say .11 and subsequently
change the self-addresses. All the servers will continue to use .1 on VLAN11 as
their default gateway.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Thus the network will now look more like Figure 2&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Figure 2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiArsKuA5N4QaBTNLXvOqzT3GZD2W2uY_X9M9AAfLCxidWXgRJxNFP3gYbc__Tl2CciX96zYikCVTRWoU8mkdhtYSA8nivvX4JMmKh9Y5L4B0zNidLj_gzG6U4_UMy-hu41jJel34hVWmw_/s1600/fig2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiArsKuA5N4QaBTNLXvOqzT3GZD2W2uY_X9M9AAfLCxidWXgRJxNFP3gYbc__Tl2CciX96zYikCVTRWoU8mkdhtYSA8nivvX4JMmKh9Y5L4B0zNidLj_gzG6U4_UMy-hu41jJel34hVWmw_/s640/fig2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;At this point, you are thinking well if that is the case then how do we get
traffic back to the F5 for Load balancing traffic. Well the easy way is to
apply SNAT Automap across all the Virtual addresses. Which works, but then you
run into another problem where you lose the client IP address. Normally this
might be work, BUT if you are tracking clients for statistical purposes, this
is not going to work.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The short answer to this is utilizing a Cisco’s Policy Based Route. How does
that work?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;On a Cisco switch you can do the following configuration (IOS Syntax):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: large;&quot;&gt;&lt;code&gt;ip access-list extended from_vlan11&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Deny y.y.y.0 0.0.0.255 z.z.z.0 0.0.0.255&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Permit y.y.y.0 0.0.0.255 any&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;route map to_lb_vlan11&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Match ip address from_vlan11&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;ip default next-hop y.y.y.11&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;interface Vlan11&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;ip policy route-map to_lb_vlan11&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;What these statements mean is that any traffic from VLAN11 is destined to
addresses on VLAN12, skip the route-map statement and use the internal routing
table of the switch. Thus allowing VLAN11 to communicate directly to VLAN12 and
vice-versa.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Subsequently, if traffic from VLAN11 is attempting to talk to the
internet then it will match the permit statement in the IP access list
“from_vlan11” then apply the route map statement and thus your next hope is
.11, which is hosted on VLAN11.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;That pretty much sums up how to use the switches throughput for VLAN-to-VLAN
traffic and the F5 ADC continues to do what it does best while Kyser can go
home happy.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://infobhatt.blogspot.com/feeds/5113427675135648866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://infobhatt.blogspot.com/2012/01/cisco-ios-vlan-to-vlan-f5-bypass.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/5113427675135648866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2430283562800055903/posts/default/5113427675135648866'/><link rel='alternate' type='text/html' href='http://infobhatt.blogspot.com/2012/01/cisco-ios-vlan-to-vlan-f5-bypass.html' title='Cisco IOS VLAN to VLAN F5 Bypass'/><author><name>The Bhattman</name><uri>http://www.blogger.com/profile/12557497538798076059</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicWA8Ecr7uTh9yDh4f_ZJliBG5lXAhlr-3_FPrzm8ocuRRXYrN4orsvRDByG_A-8X2LTy7cV9nNgJvkfwyHtU-aVYKEhkh8T2-Xhi_Q9R-9WPMiX3o3kwrf12rvwnMuomUJndluDPo30g/s72-c/fig1.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>