<?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: Rename Device Group via CLI in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557974#M113178</link>
    <description>&lt;P&gt;Thanks Tom !&lt;BR /&gt;&lt;BR /&gt;If ever anyone finds a CLI reference sheet for all the 'request' commands that would be great !! I've recently learned that all I really need to do to find all possible commands is to use the search command:&lt;BR /&gt;&lt;BR /&gt;#find command keyword &amp;lt;keyword&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I no longer have direct access in my current role to any PAN devices, so am relegated to scouring the net for anything beyond my limited experience.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 15:55:20 GMT</pubDate>
    <dc:creator>Nogaro-STMicro</dc:creator>
    <dc:date>2023-09-14T15:55:20Z</dc:date>
    <item>
      <title>Rename Device Group via CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557677#M113128</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;As part of a large migration process we're maximizing the use of CLI to create configuration within NW, FW, HA dedicated templates, + template stacks + device groups.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;One area that I'm having difficulty with is the renaming of existing device-groups (containing existing member devices) via CLI. I'm aware of commands such as 'set device-group' and 'request move-dg' that we'll use for the migration process, however to comply with new naming conventions I need to also rename some existing device-groups.&lt;BR /&gt;&lt;BR /&gt;Does anyone know of commands that will achieve this please? I searched within the 'request' commands hierarchy, but no luck so far (screenshot attached).&lt;BR /&gt;&lt;BR /&gt;I found in&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/replace-a-panorama-managed-device-with-a-new-device-different/td-p/318" target="_blank"&gt;LIVEcommunity - Replace a panorama managed device with a new device (different model) - LIVEcommunity - 318 (paloaltonetworks.com)&lt;/A&gt;&amp;nbsp;a reference to a command of type '&lt;SPAN&gt;rename device-group &amp;lt;Groupname&amp;gt; device &amp;lt;OLD SN#&amp;gt; to &amp;lt;new SN#&amp;gt;" but cannot find this command in Panorama.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance, if anyone has ideas on this it would be great !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 08:59:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557677#M113128</guid>
      <dc:creator>Nogaro-STMicro</dc:creator>
      <dc:date>2023-09-13T08:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Device Group via CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557693#M113131</link>
      <description>&lt;P&gt;that's the right command... you do need to be in configuration mode though:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; configure&lt;/P&gt;
&lt;P&gt;#&amp;nbsp;rename device-group OLDDG to NEWDG&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 11:28:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557693#M113131</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2023-09-13T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Device Group via CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557974#M113178</link>
      <description>&lt;P&gt;Thanks Tom !&lt;BR /&gt;&lt;BR /&gt;If ever anyone finds a CLI reference sheet for all the 'request' commands that would be great !! I've recently learned that all I really need to do to find all possible commands is to use the search command:&lt;BR /&gt;&lt;BR /&gt;#find command keyword &amp;lt;keyword&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I no longer have direct access in my current role to any PAN devices, so am relegated to scouring the net for anything beyond my limited experience.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:55:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rename-device-group-via-cli/m-p/557974#M113178</guid>
      <dc:creator>Nogaro-STMicro</dc:creator>
      <dc:date>2023-09-14T15:55:20Z</dc:date>
    </item>
  </channel>
</rss>

