<?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: palo alto cli scripting mode limitation in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/390137#M90686</link>
    <description>&lt;P&gt;Hi Jdelio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did paste 200 lines without any issue.&amp;nbsp;"&lt;SPAN&gt;set cli scripting-mode on" makes easy. Thanks palo/dev team for developing this command.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't have permission to access&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/featured-articles/dotw-loading-a-full-configuration-through-the-cli/ta-p/67261" target="_blank"&gt;https://live.paloaltonetworks.com/t5/featured-articles/dotw-loading-a-full-configuration-through-the-cli/ta-p/67261&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If we know the limitation for set cli scripting-mode on that would be great. &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 00:28:28 GMT</pubDate>
    <dc:creator>ChiragP</dc:creator>
    <dc:date>2021-03-10T00:28:28Z</dc:date>
    <item>
      <title>palo alto cli scripting mode limitation</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/388989#M90589</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any specific restriction to use commands or lines in scripting mode (set cli scripting-mode on)? The restriction, I means, how many set or delete lines/commands I can use. Not sure what's the buffer or bus size to handle if I paste 200 lines at the same time, would it crash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Device - PA 5250&lt;/P&gt;&lt;P&gt;Os version - 9.0.9-h1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 06:50:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/388989#M90589</guid>
      <dc:creator>ChiragP</dc:creator>
      <dc:date>2021-03-04T06:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: palo alto cli scripting mode limitation</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/389138#M90601</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;
&lt;P&gt;This is a great question that has been asked before in different ways.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you use the command&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;set cli scripting-mode on&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It should allow you to post 200 lines without issues. As far as the limitation.. I would have to dig a little further.. but this command is intended to Copy the config and then Paste it in without the traditional&amp;nbsp;CLI responses. And those configs can be thousands of lines.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also see the following DotW (Discussion of the Week) that was posted about the CLI, (although missing pictures) it helps answer this question.. and then links off to other discussions also..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/featured-articles/dotw-loading-a-full-configuration-through-the-cli/ta-p/67261" target="_blank"&gt;https://live.paloaltonetworks.com/t5/featured-articles/dotw-loading-a-full-configuration-through-the-cli/ta-p/67261&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other discussions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/increase-paste-buffer-on-pan-or-other-import-methods/m-p/18370/highlight/true#M13400" target="_blank"&gt;https://live.paloaltonetworks.com/t5/general-topics/increase-paste-buffer-on-pan-or-other-import-methods/m-p/18370/highlight/true#M13400&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/run-multiple-local-script-commands-in-cli/m-p/37444" target="_blank"&gt;https://live.paloaltonetworks.com/t5/general-topics/run-multiple-local-script-commands-in-cli/m-p/37444&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 17:23:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/389138#M90601</guid>
      <dc:creator>jdelio</dc:creator>
      <dc:date>2021-03-04T17:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: palo alto cli scripting mode limitation</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/390137#M90686</link>
      <description>&lt;P&gt;Hi Jdelio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did paste 200 lines without any issue.&amp;nbsp;"&lt;SPAN&gt;set cli scripting-mode on" makes easy. Thanks palo/dev team for developing this command.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't have permission to access&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/featured-articles/dotw-loading-a-full-configuration-through-the-cli/ta-p/67261" target="_blank"&gt;https://live.paloaltonetworks.com/t5/featured-articles/dotw-loading-a-full-configuration-through-the-cli/ta-p/67261&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If we know the limitation for set cli scripting-mode on that would be great. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 00:28:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/390137#M90686</guid>
      <dc:creator>ChiragP</dc:creator>
      <dc:date>2021-03-10T00:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: palo alto cli scripting mode limitation</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/392086#M90856</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/104473"&gt;@ChiragP&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am so sorry.. I didn't notice that article was archived.. so you will not be able to access it, I am sorry..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I have copied the bulk of it.. and here it is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;When performing this kind of operation, the easiest way to get a good bearing on the configuration we're about to deploy is to resort to a comfortable text editor that allows us to easily scroll, highlight, and wrangle the multitude of lines into something comprehensible and accurate. Some text editors may add unexpected and invisible line breaks or formatting that could cause issues when importing the configuration. Of course, invisible formatting&amp;nbsp;can result in error messages and some work in finding lines that need to be repaired, so the copy/paste operation will&amp;nbsp;work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For normal administrative operations, the CLI is set to interact with the administrator and provide feedback&lt;SPAN&gt;—&lt;/SPAN&gt;it will not correct any commands and will output error messages if a command is incorrect, even if the command itself is accurate but invisible line breaks are present. To allow a long list of set commands to be submitted without worrying about line breaks, enable scripting mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;gt; set cli scripting-mode on&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scripting mode suppresses any special characters used for formatting when accepting input from the CLI and also stops interacting with the administrator's commands (it will no longer try to autocomplete commands). This prevents error messages from appearing, and prevents the entire paste function from&amp;nbsp;failing if one line has incorrect formatting or unsupported characters.&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, as far as limitations.. I think this removes any limitations that would normally be there without this command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 15:28:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/palo-alto-cli-scripting-mode-limitation/m-p/392086#M90856</guid>
      <dc:creator>jdelio</dc:creator>
      <dc:date>2021-03-18T15:28:47Z</dc:date>
    </item>
  </channel>
</rss>

