<?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 Re: Gaia fw interfaces detailed info in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267954#M1328</link>
    <description>&lt;P&gt;I see the example output, but not a link to the script. Where is it?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jan 2026 18:38:55 GMT</pubDate>
    <dc:creator>Bob_Zimmerman</dc:creator>
    <dc:date>2026-01-20T18:38:55Z</dc:date>
    <item>
      <title>Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267953#M1327</link>
      <description>&lt;P&gt;This script provides detailed info on the currently configured interfaces.&lt;/P&gt;
&lt;P&gt;Lab example:&lt;/P&gt;
&lt;P&gt;[Expert@CP-GW:0]# ./cp_topology_report.sh&lt;BR /&gt;Writing report to: cp_topology_report_CP-GW_20260120-131201.txt&lt;BR /&gt;./cp_topology_report.sh: line 88: $2: unbound variable&lt;BR /&gt;[Expert@CP-GW:0]# more cp_topology_report_CP-GW_20260120-131201.txt&lt;BR /&gt;Check Point Topology Report - 20260120-131201&lt;/P&gt;
&lt;P&gt;====================================================================&lt;BR /&gt;== System / Version&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;Hostname: CP-GW&lt;BR /&gt;Date: Tue Jan 20 13:12:01 EST 2026&lt;/P&gt;
&lt;P&gt;Product version Check Point Gaia R82&lt;BR /&gt;OS build 777&lt;BR /&gt;OS kernel version 4.18.0-372.9.1cpx86_64&lt;BR /&gt;OS edition 64-bit&lt;/P&gt;
&lt;P&gt;====================================================================&lt;BR /&gt;== Interfaces (Gaia clish - detailed)&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;Interface eth0&lt;BR /&gt;state on&lt;BR /&gt;mac-addr 50:01:00:06:00:00&lt;BR /&gt;type ethernet&lt;BR /&gt;link-state link up&lt;BR /&gt;mtu 1500&lt;BR /&gt;auto-negotiation off&lt;BR /&gt;speed 1000M&lt;BR /&gt;ipv6-autoconfig Not configured&lt;BR /&gt;monitor-mode off&lt;BR /&gt;duplex full&lt;BR /&gt;link-speed 1000M/full&lt;BR /&gt;comments external&lt;BR /&gt;ipv4-address 172.16.10.249/24&lt;BR /&gt;ipv6-address Not Configured&lt;BR /&gt;ipv6-local-link-address Not Configured&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;TX bytes:28944025384 packets:316269899 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;RX bytes:74584671836 packets:330102816 errors:0 dropped:461 overruns:0 frame:0&lt;/P&gt;
&lt;P&gt;SD-WAN: Not Configured&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Interface eth1&lt;BR /&gt;state on&lt;BR /&gt;mac-addr 50:01:00:06:00:01&lt;BR /&gt;type ethernet&lt;BR /&gt;link-state link up&lt;BR /&gt;mtu 1500&lt;BR /&gt;auto-negotiation off&lt;BR /&gt;speed 1000M&lt;BR /&gt;ipv6-autoconfig Not configured&lt;BR /&gt;monitor-mode off&lt;BR /&gt;duplex full&lt;BR /&gt;link-speed 1000M/full&lt;BR /&gt;comments internal&lt;BR /&gt;ipv4-address 2.3.4.5/29&lt;BR /&gt;ipv6-address Not Configured&lt;BR /&gt;ipv6-local-link-address Not Configured&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;TX bytes:0 packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;RX bytes:2837725500 packets:9214763 errors:0 dropped:461 overruns:0 frame:0&lt;/P&gt;
&lt;P&gt;SD-WAN: Not Configured&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Interface eth2&lt;BR /&gt;state on&lt;BR /&gt;mac-addr 50:01:00:06:00:02&lt;BR /&gt;type ethernet&lt;BR /&gt;link-state link up&lt;BR /&gt;mtu 1500&lt;BR /&gt;auto-negotiation off&lt;BR /&gt;speed 1000M&lt;BR /&gt;ipv6-autoconfig Not configured&lt;BR /&gt;monitor-mode off&lt;BR /&gt;duplex full&lt;BR /&gt;link-speed 1000M/full&lt;BR /&gt;comments dmz&lt;BR /&gt;ipv4-address 172.31.10.249/24&lt;BR /&gt;ipv6-address Not Configured&lt;BR /&gt;ipv6-local-link-address Not Configured&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;TX bytes:0 packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;RX bytes:2837725500 packets:9214763 errors:0 dropped:461 overruns:0 frame:0&lt;/P&gt;
&lt;P&gt;SD-WAN: Not Configured&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Interface eth2.100&lt;BR /&gt;state on&lt;BR /&gt;mac-addr 50:01:00:06:00:02&lt;BR /&gt;type vlan&lt;BR /&gt;link-state not available&lt;BR /&gt;mtu 1500&lt;BR /&gt;auto-negotiation off (eth2)&lt;BR /&gt;speed 1000M (eth2)&lt;BR /&gt;ipv6-autoconfig Not configured&lt;BR /&gt;monitor-mode Not configured&lt;BR /&gt;duplex full (eth2)&lt;BR /&gt;link-speed 1000M/full (eth2)&lt;BR /&gt;comments&lt;BR /&gt;ipv4-address 172.31.11.249/24&lt;BR /&gt;ipv6-address Not Configured&lt;BR /&gt;ipv6-local-link-address Not Configured&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;TX bytes:0 packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;RX bytes:0 packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/P&gt;
&lt;P&gt;SD-WAN: Not Configured&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Interface lo&lt;BR /&gt;state on&lt;BR /&gt;mac-addr Not configured&lt;BR /&gt;type loopback&lt;BR /&gt;link-state not available&lt;BR /&gt;mtu 65536&lt;BR /&gt;auto-negotiation off&lt;BR /&gt;speed N/A&lt;BR /&gt;ipv6-autoconfig Not configured&lt;BR /&gt;monitor-mode Not configured&lt;BR /&gt;duplex N/A&lt;BR /&gt;link-speed Not configured&lt;BR /&gt;comments&lt;BR /&gt;ipv4-address 127.0.0.1/8&lt;BR /&gt;ipv6-address Not Configured&lt;BR /&gt;ipv6-local-link-address Not Configured&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;TX bytes:4100025486 packets:20373445 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;RX bytes:4100025486 packets:20373445 errors:0 dropped:0 overruns:0 frame:0&lt;/P&gt;
&lt;P&gt;SD-WAN: Not Configured&lt;/P&gt;
&lt;P&gt;====================================================================&lt;BR /&gt;== Routing Table (Gaia clish)&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;Codes: C - Connected, S - Static, R - RIP, B - BGP (D - Default),&lt;BR /&gt;O - OSPF IntraArea (IA - InterArea, E - External, N - NSSA),&lt;BR /&gt;IS - IS-IS (L1 - Level 1, L2 - Level 2, IA - InterArea, E - External),&lt;BR /&gt;A - Aggregate, K - Kernel Remnant, H - Hidden, P - Suppressed,&lt;BR /&gt;NP - NAT Pool, U - Unreachable, i - Inactive&lt;/P&gt;
&lt;P&gt;S 0.0.0.0/0 via 172.16.10.1, eth0, cost 0, active age 1915613&lt;BR /&gt;C 2.3.4.0/29 is directly connected, eth1&lt;BR /&gt;internal&lt;BR /&gt;C 127.0.0.0/8 is directly connected, lo&lt;BR /&gt;C 172.16.10.0/24 is directly connected, eth0&lt;BR /&gt;external&lt;BR /&gt;C 172.31.10.0/24 is directly connected, eth2&lt;BR /&gt;dmz&lt;BR /&gt;C 172.31.11.0/24 is directly connected, eth2.100&lt;/P&gt;
&lt;P&gt;====================================================================&lt;BR /&gt;== ARP Table (Gaia clish - dynamic)&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;Dynamic Arp Parameters&lt;/P&gt;
&lt;P&gt;IP Address Mac Address&lt;BR /&gt;172.16.10.177 50:01:00:03:00:00&lt;BR /&gt;172.16.10.188 50:00:00:02:00:00&lt;BR /&gt;172.16.10.252 50:01:00:0f:00:00&lt;BR /&gt;172.16.10.1 48:3a:02:96:47:2d&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;====================================================================&lt;BR /&gt;== Linux IP Address / Routes / Neighbors&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;### ip addr&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,PROMISC,DYNAMIC,AUTOMEDIA,PORTSEL,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN qlen 1000&lt;BR /&gt;link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;BR /&gt;link/ether 50:01:00:06:00:00 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 172.16.10.249/24 brd 172.16.10.255 scope global eth0&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;3: eth1: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;BR /&gt;link/ether 50:01:00:06:00:01 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 2.3.4.5/29 brd 2.3.4.7 scope global eth1&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;4: eth2: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP qlen 1000&lt;BR /&gt;link/ether 50:01:00:06:00:02 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 172.31.10.249/24 brd 172.31.10.255 scope global eth2&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;5: gre0@NONE: &amp;lt;NOARP&amp;gt; mtu 1476 qdisc noop state DOWN qlen 1000&lt;BR /&gt;link/gre 0.0.0.0 brd 0.0.0.0&lt;BR /&gt;6: gretap0@NONE: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1462 qdisc noop state DOWN qlen 1000&lt;BR /&gt;link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;7: erspan0@NONE: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1450 qdisc noop state DOWN qlen 1000&lt;BR /&gt;link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;8: eth2.100@eth2: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc noqueue state UP qlen 1000&lt;BR /&gt;link/ether 50:01:00:06:00:02 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 172.31.11.249/24 brd 172.31.11.255 scope global eth2.100&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;/P&gt;
&lt;P&gt;### ip route&lt;BR /&gt;default via 172.16.10.1 dev eth0 proto 7&lt;BR /&gt;2.3.4.0/29 dev eth1 proto kernel scope link src 2.3.4.5&lt;BR /&gt;172.16.10.0/24 dev eth0 proto kernel scope link src 172.16.10.249&lt;BR /&gt;172.31.10.0/24 dev eth2 proto kernel scope link src 172.31.10.249&lt;BR /&gt;172.31.11.0/24 dev eth2.100 proto kernel scope link src 172.31.11.249&lt;/P&gt;
&lt;P&gt;### ip neigh&lt;BR /&gt;172.16.10.1 dev eth0 lladdr 48:3a:02:96:47:2d REACHABLE&lt;BR /&gt;172.16.10.252 dev eth0 lladdr 50:01:00:0f:00:00 REACHABLE&lt;BR /&gt;172.16.10.177 dev eth0 lladdr 50:01:00:03:00:00 STALE&lt;BR /&gt;172.16.10.188 dev eth0 lladdr 50:00:00:02:00:00 STALE&lt;/P&gt;
&lt;P&gt;====================================================================&lt;BR /&gt;== Cluster State (if ClusterXL)&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;### cphaprob stat&lt;/P&gt;
&lt;P&gt;HA module not started.&lt;/P&gt;
&lt;P&gt;This gateway not configured as cluster&lt;/P&gt;
&lt;P&gt;### cphaprob -a if&lt;/P&gt;
&lt;P&gt;HA module not started.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Warning: Sync will not function since there aren't any sync(secured) interfaces&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;====================================================================&lt;BR /&gt;== VPN Tunnels (if enabled)&lt;BR /&gt;====================================================================&lt;/P&gt;
&lt;P&gt;[Expert@CP-GW:0]#&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 16:26:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267953#M1327</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-01-21T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267954#M1328</link>
      <description>&lt;P&gt;I see the example output, but not a link to the script. Where is it?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 18:38:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267954#M1328</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2026-01-20T18:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267955#M1329</link>
      <description>&lt;P&gt;Sorry about that, just uploaded it.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 18:41:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/267955#M1329</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-01-20T18:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268015#M1330</link>
      <description>&lt;P&gt;Strange. Tryed to run this script and got following error&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;./cp_topology_report.sh
Writing report to: cp_topology_report_***_20260121-104132.txt
./cp_topology_report.sh: line 88: $2: unbound variable&lt;/LI-CODE&gt;
&lt;P&gt;Analysing the script i see following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IFACES="$(ip -o link show | awk -F': ' '{print $2}' | cut -d'@' -f1 | grep -v '^lo$' || true)"&lt;/LI-CODE&gt;
&lt;P&gt;For my understanding, the single quotes in '{print $2}' break the outer single quotes of the bash -lc '...' block.&lt;BR /&gt;In my case this caused $2 to be interpreted as a shell variable (which does not exist) instead of an awk variable.&lt;BR /&gt;&lt;BR /&gt;On my device when replacing this line by&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IFACES="$(ip -o link show | awk -F'"'"': '"'"' '"'"'{print $2}'"'"' | cut -d'"'"'@'"'"' -f1 | grep -v '"'"'^lo$'"'"' || true)"&lt;/LI-CODE&gt;
&lt;P&gt;it worked&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 09:52:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268015#M1330</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-01-21T09:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268031#M1331</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I had a long and completely unnecessary meeting where I just had to listen. So I played around with the co-pilot a bit, and he added an output in a spruced-up HTML format to your script for me. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 12:23:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268031#M1331</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-01-21T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268034#M1332</link>
      <description>&lt;P&gt;Fair enough, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 12:24:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268034#M1332</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-01-21T12:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268037#M1333</link>
      <description>&lt;P&gt;Does it work on your end?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 12:46:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268037#M1333</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-01-21T12:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gaia fw interfaces detailed info</title>
      <link>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268040#M1334</link>
      <description>&lt;P&gt;Yes sir!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 13:03:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Gaia-fw-interfaces-detailed-info/m-p/268040#M1334</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-01-21T13:03:31Z</dc:date>
    </item>
  </channel>
</rss>

