<?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 create multiple address objects and then add to address group in Panorama Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/462628#M693</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking for a good way to create 122 address objects to add to an address group.&lt;/P&gt;
&lt;P&gt;Would like to create an array of the 122 ips, then loop thru and create the objects, then add them to my group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 23:00:05 GMT</pubDate>
    <dc:creator>knorris-fnts</dc:creator>
    <dc:date>2022-02-01T23:00:05Z</dc:date>
    <item>
      <title>create multiple address objects and then add to address group</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/462628#M693</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking for a good way to create 122 address objects to add to an address group.&lt;/P&gt;
&lt;P&gt;Would like to create an array of the 122 ips, then loop thru and create the objects, then add them to my group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 23:00:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/462628#M693</guid>
      <dc:creator>knorris-fnts</dc:creator>
      <dc:date>2022-02-01T23:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: create multiple address objects and then add to address group</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/466763#M739</link>
      <description>&lt;P&gt;Anytime I have to add large numbers of addresses / groups I script it in the CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;set device-group DG_Name address ADDRESS_NAME ip-netmask 10.0.0.0/8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set device-group DG_NAME address-group GROUP_NAME static ADDRESS_NAME&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 14:20:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/466763#M739</guid>
      <dc:creator>RHuss1</dc:creator>
      <dc:date>2022-02-18T14:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: create multiple address objects and then add to address group</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/512567#M1080</link>
      <description>&lt;P&gt;Hi RHuss1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm with a scenario where i need to create 500 host objects and add them to an already existing group, and i think i need some help understanding your examples, if you could.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using this example:&lt;BR /&gt;"set device-group DG_Name address ADDRESS_NAME ip-netmask 10.0.0.0/8"&lt;/P&gt;
&lt;P&gt;Are we creating a new object for the 10.0.0.0/8 network, called "ADDRESS_NAME", and adding it in a group named "DG_Name" that already exists?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other one:&lt;/P&gt;
&lt;P&gt;"set device-group DG_NAME address-group GROUP_NAME static ADDRESS_NAME"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm confused about this one, looks like "DG_NAME" and "GROUP_NAME" are 2 different groups and i'm adding the object "ADDRESS_NAME" to one of them, but i think i did't get it right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a lot of experience with another vendors, but i'm new to panorama and i like to work with CLI for these cases, and i didn't find any detailed documentation about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found these other ones and was planning to create a script using them, but i really don't know how they will work.&lt;/P&gt;
&lt;P&gt;"set address host_XXX ip-netmask XXX/32&lt;BR /&gt;set address-group GROUP_NAME static host_XXX"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Line 1 - Create the new host object&lt;/P&gt;
&lt;P&gt;Line 2 - Add the new objetc to the GROUP_NAME group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will the line 2 command ADD the host_XXX into the group without removing the other objects already there? Or this will make the host_XXX object the only one on that group? This is what i'm afraid...=]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Btw, this is a shared group used by multiple device groups.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry about the long message and lots of questions, i'm just tryng to be clear (i'm not an english native speaker) =/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 16:24:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/512567#M1080</guid>
      <dc:creator>Plinio</dc:creator>
      <dc:date>2022-08-22T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: create multiple address objects and then add to address group</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/512592#M1081</link>
      <description>&lt;P&gt;Using this example:&lt;BR /&gt;"set device-group DG_Name address ADDRESS_NAME ip-netmask 10.0.0.0/8"&lt;/P&gt;
&lt;P&gt;Are we creating a new object for the 10.0.0.0/8 network, called "ADDRESS_NAME", and adding it in a group named "DG_Name" that already exists?&amp;nbsp; &amp;nbsp; YES&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the 2nd example,&amp;nbsp; You are adding the address object you created,&amp;nbsp; to the address Group in the device group in Panorama.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Play around with it,&amp;nbsp; you will get the hang of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:32:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/create-multiple-address-objects-and-then-add-to-address-group/m-p/512592#M1081</guid>
      <dc:creator>RHuss1</dc:creator>
      <dc:date>2022-08-22T18:32:33Z</dc:date>
    </item>
  </channel>
</rss>

