<?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: Selective cut-paste of the config in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18957#M13810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the method mentioned above,&amp;nbsp;&amp;nbsp; set cli config-output-format-set output and show config cut and paste the config to another firewall.&amp;nbsp;&amp;nbsp; I ran into the config output are not always in order, it make the my jobs very difficult.&amp;nbsp; Editing offline are not always best options either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To those who have used to JunOS, you know about the load [replace|merge|set] terminal command (&lt;A href="http://books.google.com/books?isbn=059615397X"&gt;example&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested to see similar features available on PANOS, please submit a feature request with your SEs or resellers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ernest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 20:13:25 GMT</pubDate>
    <dc:creator>nextgenhappines</dc:creator>
    <dc:date>2013-02-05T20:13:25Z</dc:date>
    <item>
      <title>Selective cut-paste of the config</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18952#M13805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to deploy 9 PA boxes. I would like to create all objects on one box and copy that section to all the boxes. How do I achieve that? The config seems to be in XML format and section cut-paste is not working on command line. So far only way I could see it working is export the config from GUI to xml format, edit whole file in notepad and bring it back. However this task is cumbersome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to just cut-paste a section of the config at command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2011 20:54:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18952#M13805</guid>
      <dc:creator>smunzani</dc:creator>
      <dc:date>2011-12-17T20:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Selective cut-paste of the config</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18953#M13806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it's not clear to me how what "{scp|tftp} import configuration" in the CLI does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless you can generate a file containing the CLI commands to create the objects.&lt;/P&gt;&lt;P&gt;"set address foo ip-netmask 1.2.3.4/32"&lt;/P&gt;&lt;P&gt;and paste the text file in the CLI in configuration mode (if it's not too big, probably).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or buy Panorama ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2011 06:22:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18953#M13806</guid>
      <dc:creator>wscmtts</dc:creator>
      <dc:date>2011-12-18T06:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selective cut-paste of the config</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18954#M13807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is not an easy way to load just parts of the configs. XML editing is probably the easiest way. You could create one template config with all your objects. Then export that and use a text editor to find and replace parts such as hostname, system IP, etc. Then import that to whichever box requires it. Other option is as use 'set' commands as Wscmtts mentioned. To view your configs in 'set' format, use below CLI command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set cli config-output-format set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then view your configs with 'show config running'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2011 20:29:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18954#M13807</guid>
      <dc:creator>Retired Member</dc:creator>
      <dc:date>2011-12-18T20:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selective cut-paste of the config</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18955#M13808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is how I got around it. Thanks to somebody's good documentation on the support site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On source PA box:&lt;/P&gt;&lt;P&gt;admin@myFW&amp;gt; set cli config-output-format set&lt;/P&gt;&lt;P&gt;configure&lt;/P&gt;&lt;P&gt;# Run following commands and capture output in a text file&lt;/P&gt;&lt;P&gt;show address&lt;/P&gt;&lt;P&gt;show address-group&lt;/P&gt;&lt;P&gt;show rulebase security rules&lt;/P&gt;&lt;P&gt;show rulebase nat rules&lt;/P&gt;&lt;P&gt;# Make any edits offline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On destination PA box:&lt;/P&gt;&lt;P&gt;admin@myFW&amp;gt; set cli script-mode on&lt;/P&gt;&lt;P&gt;# paste all config lines.&lt;/P&gt;&lt;P&gt;set cli script-mode off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I did. But I was hoping to export full config in set commands mode and edit it offline and then paste again. I could not find a command that gave me full config including routing, global protect et all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 16:09:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18955#M13808</guid>
      <dc:creator>smunzani</dc:creator>
      <dc:date>2011-12-19T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selective cut-paste of the config</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18956#M13809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to these posts.&lt;/P&gt;&lt;P&gt;Once you've entered admin@myFW&amp;gt; set cli config-output-format set&lt;/P&gt;&lt;P&gt;Enter at CLI: configure&lt;/P&gt;&lt;P&gt;Then all you have to do is enter (at prompt with #): show (press enter)&lt;/P&gt;&lt;P&gt;This will spill out all configs including bunch of encrypted garble which you'll have to remove from your text.&amp;nbsp; Haven't figured out if that could be routed to tftp or text file yet.&amp;nbsp; But, a great start.&lt;/P&gt;&lt;P&gt;This is better than editing xml files. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 04:11:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18956#M13809</guid>
      <dc:creator>ktahani</dc:creator>
      <dc:date>2012-10-11T04:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selective cut-paste of the config</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18957#M13810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the method mentioned above,&amp;nbsp;&amp;nbsp; set cli config-output-format-set output and show config cut and paste the config to another firewall.&amp;nbsp;&amp;nbsp; I ran into the config output are not always in order, it make the my jobs very difficult.&amp;nbsp; Editing offline are not always best options either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To those who have used to JunOS, you know about the load [replace|merge|set] terminal command (&lt;A href="http://books.google.com/books?isbn=059615397X"&gt;example&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested to see similar features available on PANOS, please submit a feature request with your SEs or resellers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ernest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 20:13:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/selective-cut-paste-of-the-config/m-p/18957#M13810</guid>
      <dc:creator>nextgenhappines</dc:creator>
      <dc:date>2013-02-05T20:13:25Z</dc:date>
    </item>
  </channel>
</rss>

