<?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: Delete DHCP relays via Clish in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222563#M11112</link>
    <description>&lt;P&gt;Let me spin up demo point lab later and will test this.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 11:37:37 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2024-08-02T11:37:37Z</dc:date>
    <item>
      <title>Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222532#M11105</link>
      <description>&lt;P&gt;Does anyone know the syntax to remove a DHCP relay destination via the Clish CLI?&lt;BR /&gt;&lt;BR /&gt;currently have this in place&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;set dhcp server interface LAN5 relay relay-to 10.10.10.10 secondary 10.20.10.10 tertiary 10.30.10.10 quaternary 10.40.10.10&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;need to remove the server 10.20.10.10 from the list, leaving only 3 relays&lt;BR /&gt;&lt;BR /&gt;I can do this&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set dhcp server interface LAN5 relay relay-to 10.10.10.10 secondary 10.30.10.10 tertiary 10.40.10.10&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;but still leaved the quaternary setting resulting in this&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set dhcp server interface LAN5 relay relay-to 10.10.10.10 secondary 10.30.10.10 tertiary 10.40.10.10 quaternary 10.40.10.10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;From the web interface the 4th entry can be blanked out, however ideally would like to avoid having to use the web interface as we need to update multiple gateways for which we intend intend creating a script using cprid_util to update the configuration.&lt;BR /&gt;&lt;BR /&gt;The R81.10.x cli guide does not provide any clues&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/set-dhcp-relay.htm" target="_blank"&gt;https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/set-dhcp-relay.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 01:22:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222532#M11105</guid>
      <dc:creator>Greg_Harbers</dc:creator>
      <dc:date>2024-08-02T01:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222534#M11106</link>
      <description>&lt;P&gt;Maybe one below the section for dhcp server?&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/170118.htm?tocpath=Configuring%20DHCP%20Settings%7Cdhcp%20server%20interface%7C_____14" target="_blank"&gt;https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/170118.htm?tocpath=Configuring%20DHCP%20Settings%7Cdhcp%20server%20interface%7C_____14&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 02:18:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222534#M11106</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-08-02T02:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222535#M11107</link>
      <description>&lt;P&gt;No, that does not appear to work&lt;BR /&gt;&lt;BR /&gt;if I try to delete the dhcp server interface setting I get this&lt;BR /&gt;&lt;BR /&gt;GATEWAY1&amp;gt; delete dhcp server interface LAN5&lt;BR /&gt;Incomplete command&lt;BR /&gt;GATEWAY1&amp;gt; delete dhcp server interface LAN5 relay&lt;BR /&gt;^&lt;BR /&gt;Bad parameter starting at 'relay'&lt;BR /&gt;GATEWAY1&amp;gt;&lt;BR /&gt;&lt;BR /&gt;command completion indicates the only accepted parameter for the delete command is exclude-range as below...&lt;BR /&gt;&lt;BR /&gt;GATEWAY1&amp;gt; delete dhcp server interface LAN5 exclude-range&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 02:34:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222535#M11107</guid>
      <dc:creator>Greg_Harbers</dc:creator>
      <dc:date>2024-08-02T02:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222536#M11108</link>
      <description>&lt;P&gt;I meant this, but not sure if thats right one.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/170137.htm?tocpath=Configuring%20DHCP%20Settings%7Cdhcp%20server%20interface%7C_____15" target="_blank"&gt;https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/170137.htm?tocpath=Configuring%20DHCP%20Settings%7Cdhcp%20server%20interface%7C_____15&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 02:44:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222536#M11108</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-08-02T02:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222541#M11109</link>
      <description>&lt;P&gt;That is applicable if you have a) configured the gateway as a DHCP server, and b) set a custom option for the server. it it does not apply to removing a DHCP relay.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 05:29:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222541#M11109</guid>
      <dc:creator>Greg_Harbers</dc:creator>
      <dc:date>2024-08-02T05:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222563#M11112</link>
      <description>&lt;P&gt;Let me spin up demo point lab later and will test this.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:37:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222563#M11112</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-08-02T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222568#M11113</link>
      <description>&lt;P&gt;Give me 1 hour or so, just creating the lab at the moment, will try test it soon.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:28:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222568#M11113</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-08-02T12:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delete DHCP relays via Clish</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222571#M11114</link>
      <description>&lt;P&gt;I see what you mean&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/25839"&gt;@Greg_Harbers&lt;/a&gt;&amp;nbsp;. I tested in tech point lab and got exact same thing. There is no save config in smb, so I assume when you run any commands, it simply saves it right away, but even though I typed only 3 servers 2mnd time, still shows 4th one I did 1st time, 4.4.4.4, as confirmed with commands I ran. Let me see if I can try figure it out. Maybe someone else may have an idea...&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/27081iD302488B03BC578C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/27082i1D1B29F391FFC62A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:47:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Delete-DHCP-relays-via-Clish/m-p/222571#M11114</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-08-02T12:47:41Z</dc:date>
    </item>
  </channel>
</rss>

