<?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: How to output cli hierarchical structure in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3586#M2642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size:10pt;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"&gt;By default if you are on CLI you can just run 'show config running' and it will output the full configs in hierarchical structure. Log the output and save as a TXT file. Is this what you are looking for? If not then perhaps you could elaborate more.&lt;/P&gt;&lt;P style="font-size:10pt;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size:10pt;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"&gt;&lt;SPAN style="font-size: 10pt;"&gt;-Richard &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2011 02:44:25 GMT</pubDate>
    <dc:creator>Retired Member</dc:creator>
    <dc:date>2011-12-28T02:44:25Z</dc:date>
    <item>
      <title>How to output cli hierarchical structure</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3584#M2640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to do a dump of the cli hierarchical structure to say a flat file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 12:27:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3584#M2640</guid>
      <dc:creator>erantanen</dc:creator>
      <dc:date>2011-12-27T12:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to output cli hierarchical structure</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3585#M2641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Unix, you could just capture the output of the configuration display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;% script pan.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;% ssh pa-firewall -l username&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt; set cli pager off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt; set config-output-format set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt; show config running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt; exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;% exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Script done, file is pan.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will capture the hierarchial configuration and is more readable than the XML configuration.&amp;nbsp; Unfortunately, it will take some effort to manipulate this into the commands that would be entered at the command line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 13:08:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3585#M2641</guid>
      <dc:creator>holmesw</dc:creator>
      <dc:date>2011-12-27T13:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to output cli hierarchical structure</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3586#M2642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size:10pt;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"&gt;By default if you are on CLI you can just run 'show config running' and it will output the full configs in hierarchical structure. Log the output and save as a TXT file. Is this what you are looking for? If not then perhaps you could elaborate more.&lt;/P&gt;&lt;P style="font-size:10pt;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size:10pt;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"&gt;&lt;SPAN style="font-size: 10pt;"&gt;-Richard &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 02:44:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3586#M2642</guid>
      <dc:creator>Retired Member</dc:creator>
      <dc:date>2011-12-28T02:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to output cli hierarchical structure</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3587#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking at the xml structures, and not sure how to build the xpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the cli, if there was a dump command that could redirect the xml structure to a flat file to be used later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 19:16:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3587#M2643</guid>
      <dc:creator>erantanen</dc:creator>
      <dc:date>2011-12-28T19:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to output cli hierarchical structure</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3588#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps you could export the configuration to another server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scp export configuration from running-config.xml to &amp;lt;username&amp;gt;@&amp;lt;hostname&amp;gt;:&amp;lt;path-to-file&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any of the named configuration versions can be exported in this fashion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 00:44:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3588#M2644</guid>
      <dc:creator>bpappas</dc:creator>
      <dc:date>2011-12-30T00:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to output cli hierarchical structure</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3589#M2645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are searching for commands to enter on the cli, you can export the config simply entering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- set cli pager off &amp;lt;enter&amp;gt;&lt;/P&gt;&lt;P&gt;- set cli config-output-format set &amp;lt;enter&amp;gt;&lt;/P&gt;&lt;P&gt;- configure &amp;lt;enter&amp;gt;&lt;/P&gt;&lt;P&gt;- show &amp;lt;enter&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 12:03:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-output-cli-hierarchical-structure/m-p/3589#M2645</guid>
      <dc:creator>sergimunoz</dc:creator>
      <dc:date>2012-01-25T12:03:10Z</dc:date>
    </item>
  </channel>
</rss>

