<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Interface State - All in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82011#M587</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eis123.JPG" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9433iC5BB67960FF059FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eis123.JPG" alt="eis123.JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;This oneliner (see spoiler) shows you all states of all physical interfaces:&lt;/P&gt;
&lt;LI-SPOILER&gt;&lt;LI-CODE lang="markup"&gt;echo;echo "Interface    MAC                 Driver Duplex     Speed   MTU CPU  IRQ           RX-OK     RX-ERR     RX-DRP     RX-OVR           TX-OK     TX-ERR     TX-DRP     TX-OVR";printf '%.s-' {1..169};echo;fw ctl affinity -l -v |grep Interface  | awk '{system("ethtool " $2 " | grep Duplex")} {system("ethtool " $2 " | grep Speed ")}  {system("ethtool -i " $2 " | grep driver ")} {system("netstat -I" $2 " | grep " $2)}  {system ("ifconfig " $2 " | head -n 1")} {print $2 " " $4 " " $6 }' |xargs -n 26 | sed s/\):// | awk '{printf "%-12s %-19s %-6s %-6s %9s %5s %3s %4s %15s %10s %10s %10s %15s %10s %10s %10s \n", $7, $23 , $6, $2, $4, $8, $26, $25, $10 , $11 , $12, $13, $14, $15, $16, $17} ' |sort;echo
&lt;/LI-CODE&gt;&lt;/LI-SPOILER&gt;
&lt;P&gt;Output:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Physical_Interface_status.JPG" style="width: 1174px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5627i8E9E4CC7F7EDFB64/image-dimensions/1174x137?v=v2" width="1174" height="137" role="button" title="Physical_Interface_status.JPG" alt="Physical_Interface_status.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or use this tool for much more information on all your gateways :&lt;BR /&gt;&lt;SPAN class="lia-message-read"&gt;&lt;FONT style="background-color: #f8f8fa;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.checkpoint.com/t5/General-Topics/Easy-View-Tool-system-infos-from-all-gateways-simultaneously/td-p/81438" target="_self"&gt;Easy View Tool - View System Info for All Gateways Simultaneously&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 15:38:09 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2020-12-01T15:38:09Z</dc:date>
    <item>
      <title>Interface State - All</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82011#M587</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eis123.JPG" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9433iC5BB67960FF059FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eis123.JPG" alt="eis123.JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;This oneliner (see spoiler) shows you all states of all physical interfaces:&lt;/P&gt;
&lt;LI-SPOILER&gt;&lt;LI-CODE lang="markup"&gt;echo;echo "Interface    MAC                 Driver Duplex     Speed   MTU CPU  IRQ           RX-OK     RX-ERR     RX-DRP     RX-OVR           TX-OK     TX-ERR     TX-DRP     TX-OVR";printf '%.s-' {1..169};echo;fw ctl affinity -l -v |grep Interface  | awk '{system("ethtool " $2 " | grep Duplex")} {system("ethtool " $2 " | grep Speed ")}  {system("ethtool -i " $2 " | grep driver ")} {system("netstat -I" $2 " | grep " $2)}  {system ("ifconfig " $2 " | head -n 1")} {print $2 " " $4 " " $6 }' |xargs -n 26 | sed s/\):// | awk '{printf "%-12s %-19s %-6s %-6s %9s %5s %3s %4s %15s %10s %10s %10s %15s %10s %10s %10s \n", $7, $23 , $6, $2, $4, $8, $26, $25, $10 , $11 , $12, $13, $14, $15, $16, $17} ' |sort;echo
&lt;/LI-CODE&gt;&lt;/LI-SPOILER&gt;
&lt;P&gt;Output:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Physical_Interface_status.JPG" style="width: 1174px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5627i8E9E4CC7F7EDFB64/image-dimensions/1174x137?v=v2" width="1174" height="137" role="button" title="Physical_Interface_status.JPG" alt="Physical_Interface_status.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or use this tool for much more information on all your gateways :&lt;BR /&gt;&lt;SPAN class="lia-message-read"&gt;&lt;FONT style="background-color: #f8f8fa;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.checkpoint.com/t5/General-Topics/Easy-View-Tool-system-infos-from-all-gateways-simultaneously/td-p/81438" target="_self"&gt;Easy View Tool - View System Info for All Gateways Simultaneously&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 15:38:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82011#M587</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-12-01T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: ONELINER - All Physical Interface States in one Overview</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82070#M588</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21670"&gt;@HeikoAnkenbrand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a nice summary of all interface parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 06:44:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82070#M588</guid>
      <dc:creator>yo</dc:creator>
      <dc:date>2020-04-16T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: ONELINER - All Physical Interface States in one Overview</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82197#M589</link>
      <description>&lt;P&gt;Heiko,&lt;/P&gt;&lt;P&gt;it would be great if you put all one-liners into one script to have them in one place, what do you think? Great job.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 07:02:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82197#M589</guid>
      <dc:creator>Martin_Raska</dc:creator>
      <dc:date>2020-04-17T07:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: ONELINER - All Physical Interface States in one Overview</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82218#M590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/13122"&gt;@Martin_Raska&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a collection of oneliners from the forum.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.checkpoint.com/t5/General-Topics/One-liner-collection/m-p/57994/highlight/true#M11705" target="_self"&gt;One-liner collection&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe this will help.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 09:47:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82218#M590</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-04-17T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: ONELINER - All Physical Interface States in one Overview</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82432#M591</link>
      <description>&lt;P&gt;It will show interfaces which are UP, or also interfaces which are down ?&lt;/P&gt;
&lt;P&gt;Would be great to display all interfaces (up/down) and mention if particular interface is up or down.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 05:05:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82432#M591</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2020-04-20T05:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: ONELINER - All Physical Interface States in one Overview</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82515#M592</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1702"&gt;@JozkoMrkvicka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I only use interface from "fw ctl affinity -l" which are used for Check Point gateways. All unused interfaces are not displayed.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:26:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/82515#M592</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-04-20T16:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: ONELINER - All Physical Interface States in one Overview</title>
      <link>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/85598#M593</link>
      <description>&lt;P&gt;Now with R80.40 update.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 06:39:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Interface-State-All/m-p/85598#M593</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-05-18T06:39:02Z</dc:date>
    </item>
  </channel>
</rss>

