<?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 One-Liner for status summary of all configured bonds in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160060#M28169</link>
    <description>&lt;P&gt;I've created a one-liner to get a simple status summary of all configured bonds. Probable it helps someone:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ls /proc/net/bonding/ | while read BOND_NAME; do BOND_STATE=`cat /proc/net/bonding/$BOND_NAME|grep Status|head -1|cut -d":" -f2`; SLAVE_CNT=`cat /proc/net/bonding/$BOND_NAME|grep "Slave Interface"|wc -l`; ACTIVE_SLAVE_CNT=`cat /proc/net/bonding/$BOND_NAME|grep -A1 "Slave Interface"|grep "Status: up"|wc -l`; echo "$BOND_NAME:$BOND_STATE ($ACTIVE_SLAVE_CNT/$SLAVE_CNT members up)"; done;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample&amp;nbsp; output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;bond0: up (2/2 members up)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;bond1: up (2/2 members up)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;bond2: down (0/2 members up)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;bond3: down (0/0 members up)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Successfully tested on R80.20 and R81.10&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 14:00:07 GMT</pubDate>
    <dc:creator>Michael_Wagner</dc:creator>
    <dc:date>2022-10-20T14:00:07Z</dc:date>
    <item>
      <title>One-Liner for status summary of all configured bonds</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160060#M28169</link>
      <description>&lt;P&gt;I've created a one-liner to get a simple status summary of all configured bonds. Probable it helps someone:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ls /proc/net/bonding/ | while read BOND_NAME; do BOND_STATE=`cat /proc/net/bonding/$BOND_NAME|grep Status|head -1|cut -d":" -f2`; SLAVE_CNT=`cat /proc/net/bonding/$BOND_NAME|grep "Slave Interface"|wc -l`; ACTIVE_SLAVE_CNT=`cat /proc/net/bonding/$BOND_NAME|grep -A1 "Slave Interface"|grep "Status: up"|wc -l`; echo "$BOND_NAME:$BOND_STATE ($ACTIVE_SLAVE_CNT/$SLAVE_CNT members up)"; done;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample&amp;nbsp; output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;bond0: up (2/2 members up)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;bond1: up (2/2 members up)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;bond2: down (0/2 members up)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;bond3: down (0/0 members up)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Successfully tested on R80.20 and R81.10&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:00:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160060#M28169</guid>
      <dc:creator>Michael_Wagner</dc:creator>
      <dc:date>2022-10-20T14:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: One-Liner for status summary of all configured bonds</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160061#M28170</link>
      <description>&lt;P&gt;Note there are related CLISH commands here such as:&lt;/P&gt;
&lt;P&gt;show cluster bond {all | name &amp;lt;bond_name&amp;gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:24:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160061#M28170</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2022-10-20T14:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: One-Liner for status summary of all configured bonds</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160062#M28171</link>
      <description>&lt;P&gt;Thanks! Sincerely this only works when HA module is started. I needed a quick way to verify network connectivity during a migration before the cluster is configured.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:24:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/One-Liner-for-status-summary-of-all-configured-bonds/m-p/160062#M28171</guid>
      <dc:creator>Michael_Wagner</dc:creator>
      <dc:date>2022-10-20T14:24:27Z</dc:date>
    </item>
  </channel>
</rss>

