<?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: clish load configuration &amp;quot;merge&amp;quot; in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/111678#M15443</link>
    <description>&lt;P&gt;I found a rather inelegent solution... copy/paste the "add interface .. vlan" commands, because the shell will accept input after error. Load the rest from file.&lt;/P&gt;&lt;P&gt;I'm sure there's a better way but going with what works now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 06:32:09 GMT</pubDate>
    <dc:creator>cosmos</dc:creator>
    <dc:date>2021-02-24T06:32:09Z</dc:date>
    <item>
      <title>clish load configuration "merge"</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/111677#M15442</link>
      <description>&lt;P&gt;Is there a way to merge a [partial] Gaia configuration file with existing?&amp;nbsp;like "load sys config merge file" or "load config partial from x-path ... mode merge"?&lt;/P&gt;&lt;P&gt;I've started building a lab&amp;nbsp;for a customer with about 200 sub-interfaces and literally thousands of static routes. Since it's a lab I've had to massage the config a bit. Now... pasting the config directly in clish is a bit hit-or-miss with partial lines resulting in errors, so I thought I'd throw the config into a file and load it instead.&lt;/P&gt;&lt;P&gt;Great in theory - impossible in practice if a command in the config is valid but clish would throw an exception e.g. "NMSETH0049 VLAN eth2.400 already exists.".&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm stuck either editing my config file and removing the lines that already took from the CLI, or back to pasting in the shell. Neither of these are a productive use of my time.&lt;/P&gt;&lt;P&gt;Is there any way we can either a) force clish to continue to read the file if there was a line with an error or b) merge the config so something that already exists is not overwritten?&lt;/P&gt;&lt;P&gt;It's the same issue with vsx_provisioning_tool - if something broke in transaction 6 you have to modify the file to load from that transaction otherwise the previous ones result in an error.&lt;/P&gt;&lt;P&gt;I'm sensing another theme here... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 06:20:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/111677#M15442</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2021-02-24T06:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: clish load configuration "merge"</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/111678#M15443</link>
      <description>&lt;P&gt;I found a rather inelegent solution... copy/paste the "add interface .. vlan" commands, because the shell will accept input after error. Load the rest from file.&lt;/P&gt;&lt;P&gt;I'm sure there's a better way but going with what works now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 06:32:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/111678#M15443</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2021-02-24T06:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: clish load configuration "merge"</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/112282#M15580</link>
      <description>&lt;P&gt;Look at sk102234, maybe this one is what you are looking for:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;HostName &amp;gt; set clienv on-failure continue&lt;BR /&gt;HostName &amp;gt; load configuration &amp;lt;filename&amp;gt;&lt;BR /&gt;HostName &amp;gt; set clienv on-failure stop&lt;BR /&gt;HostName &amp;gt; save config&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 14:39:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/clish-load-configuration-quot-merge-quot/m-p/112282#M15580</guid>
      <dc:creator>Olavi_Lentso</dc:creator>
      <dc:date>2021-03-02T14:39:59Z</dc:date>
    </item>
  </channel>
</rss>

