<?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: comments in cli in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/298675#M78238</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems a little silly - unable to allocate a character for comments. makes script files lot better by adding documentation to the script file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like very basic sort of stuff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2019 20:26:57 GMT</pubDate>
    <dc:creator>Alex_Samad</dc:creator>
    <dc:date>2019-11-14T20:26:57Z</dc:date>
    <item>
      <title>comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176425#M55175</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a text file with PANOS command line arguments (set) what character defines a comment line ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there one ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 02:12:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176425#M55175</guid>
      <dc:creator>Alex_Samad</dc:creator>
      <dc:date>2017-09-14T02:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176548#M55196</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/62286"&gt;@Alex_Samad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Can you explain a little more what you are actually trying to do. To the best of my knowledge there is no character within the cli that dictates a comment. Any script that you are trying to setup would usually have a comment character that simply means it should ignore that line.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:06:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176548#M55196</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2017-09-14T14:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176571#M55201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It this what you wanted:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# set cli config-output-format set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;xxxxxx# show&lt;BR /&gt;set deviceconfig system update-server updates.paloaltonetworks.com&lt;BR /&gt;set deviceconfig system update-schedule threats recurring daily at 01:15&lt;BR /&gt;set deviceconfig system update-schedule threats recurring daily action download-and-install&lt;BR /&gt;set deviceconfig system update-schedule global-protect-datafile recurring daily action download-and-install&lt;BR /&gt;set deviceconfig system update-schedule global-protect-datafile recurring daily at 01:30&lt;BR /&gt;set deviceconfig system update-schedule anti-virus recurring hourly action download-and-install&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:34:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176571#M55201</guid>
      <dc:creator>TranceforLife</dc:creator>
      <dc:date>2017-09-14T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176648#M55210</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry. needs better explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am using a text file - similar to what i did with cisco / arista. &amp;nbsp;which has lines of config in it. &amp;nbsp;But I was able to use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# or !! to signify that those lines where comments - so I could document desiscions&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would&amp;nbsp;use the text files by simply coping and paste into a cli.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I might want to have something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# set up aggregate port&lt;/P&gt;&lt;P&gt;set template vdc config network interface aggregate-ethernet ae1 layer3 ipv6 neighbor-discovery router-advertisement enable no&lt;BR /&gt;set template vdc config network interface aggregate-ethernet ae1 comment "10G PO to core switches"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I would like to be able to select the whole file and just paste.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with PANOS, the # comes up as an error, which makes it harder for me to quickly scan for errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 01:14:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/176648#M55210</guid>
      <dc:creator>Alex_Samad</dc:creator>
      <dc:date>2017-09-15T01:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/296943#M78009</link>
      <description>&lt;P&gt;Did you find an answer? (Comments in CLI file)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 04:03:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/296943#M78009</guid>
      <dc:creator>Dash.Ranasinghe</dc:creator>
      <dc:date>2019-11-07T04:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/297050#M78020</link>
      <description>&lt;P&gt;Maybe???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switch to scripting mode. In scripting mode, you can copy and paste commands from a text file directly into the CLI. Although you can do this without scripting-mode enabled (up to 20 lines). If you cut-and-paste a block of text into the CLI, examine the output of the lines you pasted. If you see lines that are truncated or generate errors, you may have to re-paste a smaller section of text, or switch to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scripting-mode&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;admin@PA-3060&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;set cli scripting-mode on&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 15:20:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/297050#M78020</guid>
      <dc:creator>Shawverr</dc:creator>
      <dc:date>2019-11-07T15:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/298675#M78238</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems a little silly - unable to allocate a character for comments. makes script files lot better by adding documentation to the script file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like very basic sort of stuff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 20:26:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/298675#M78238</guid>
      <dc:creator>Alex_Samad</dc:creator>
      <dc:date>2019-11-14T20:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/318774#M81815</link>
      <description>&lt;P&gt;is it possible that the comment would be similar to Juniper (both FreeBSD) and would use the same type of comments found in .xml (see below)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree with Alex, seems silly that such a character doesn't exist, but with Palo's constant desire to do everything via GUI I guess that makes some sense.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Palo folks can you please comment and let us know if below syntax is correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- this is a comment --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 16:48:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/318774#M81815</guid>
      <dc:creator>shaynekelly</dc:creator>
      <dc:date>2020-03-26T16:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/319468#M81924</link>
      <description>&lt;P&gt;No go...&lt;/P&gt;&lt;P&gt;Unknown command: &amp;lt;!--&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 05:26:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/319468#M81924</guid>
      <dc:creator>Dash.Ranasinghe</dc:creator>
      <dc:date>2020-03-31T05:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/432685#M95781</link>
      <description>&lt;P&gt;i agree that a no comment character is a stupid omission on PA's part. common guys, put a comment character like #, ! or something into the config mode in CLI.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 23:07:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/432685#M95781</guid>
      <dc:creator>anon4all</dc:creator>
      <dc:date>2021-09-08T23:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/478312#M103739</link>
      <description>&lt;P&gt;I'm another admin looking for this common practice. Nearly all other vendors have something in this fashion.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 11:06:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/478312#M103739</guid>
      <dc:creator>Marko_K</dc:creator>
      <dc:date>2022-04-05T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: comments in cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/538915#M110591</link>
      <description>&lt;P&gt;One workaround I found was to just us a benign config stanza, like a tag...&amp;nbsp; e.g:&lt;BR /&gt;top set tag comment comments "this is a note about the next few lines of config"&lt;/P&gt;
&lt;P&gt;set ...&lt;/P&gt;
&lt;P&gt;set ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and, if you like, follow it with:&lt;/P&gt;
&lt;P&gt;top delete tag comment&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2023 16:49:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/m-p/538915#M110591</guid>
      <dc:creator>ThomasPaine</dc:creator>
      <dc:date>2023-04-16T16:49:16Z</dc:date>
    </item>
  </channel>
</rss>

