<?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: Adding address objects and tagging them via CLI. in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194390#M58166</link>
    <description>&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set vsys vsys1 address &amp;lt;address object&amp;gt; tag &amp;lt;tag&amp;gt; ip-netmask x.x.x.x/32&lt;/PRE&gt;&lt;P&gt;And if you want to add it to a group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set address-group &amp;lt;address group&amp;gt; &amp;lt;address object&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 11:07:22 GMT</pubDate>
    <dc:creator>TerjeLundbo</dc:creator>
    <dc:date>2018-01-09T11:07:22Z</dc:date>
    <item>
      <title>Adding address objects and tagging them via CLI.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194102#M58108</link>
      <description>&lt;P&gt;In my network we tag certain IP addresses for various reasons on our Palo Alto's. Sometimes we will get a large batch of these that need to be done and manually creating an address object and then tagging it via the GUi can be time consuming (to say the least).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there is a way to add these object groups and tag them via the CLI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running a Panorama with an HA pair of physical boxes if that makes a difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 23:00:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194102#M58108</guid>
      <dc:creator>Gareth.Doyle</dc:creator>
      <dc:date>2018-01-05T23:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding address objects and tagging them via CLI.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194263#M58140</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/80358"&gt;@Gareth.Doyle&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you want to use the&amp;nbsp;set address / address-group commands in&amp;nbsp;CLI (in configuration mode) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;gt; configure

# set address
# set address &amp;lt;name&amp;gt; tag  [ &amp;lt;tag1&amp;gt; &amp;lt;tag2&amp;gt;... ]
# set address-group &amp;lt;name&amp;gt; tag  [ &amp;lt;tag1&amp;gt; &amp;lt;tag2&amp;gt;... ]&lt;/PRE&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Hope this helps !&lt;/P&gt;
&lt;P class="p1"&gt;-Kiwi.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 09:27:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194263#M58140</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2018-01-08T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding address objects and tagging them via CLI.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194265#M58142</link>
      <description>&lt;P&gt;Have you considered using API to inject these IPs in tagged dynamic objects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Register IP Addresses and Tags Dynamically" href="https://www.paloaltonetworks.com/documentation/80/pan-os/pan-os/policy/register-ip-addresses-and-tags-dynamically" target="_blank"&gt;Register IP Addresses and Tags Dynamically&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title=" Sample API workflow for Dynamic Address Objects" href="https://live.paloaltonetworks.com/t5/API-Articles/Sample-API-workflow-for-Dynamic-Address-Objects/ta-p/61484" target="_blank"&gt; Sample API workflow for Dynamic Address Objects&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 09:38:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194265#M58142</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2018-01-08T09:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding address objects and tagging them via CLI.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194390#M58166</link>
      <description>&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set vsys vsys1 address &amp;lt;address object&amp;gt; tag &amp;lt;tag&amp;gt; ip-netmask x.x.x.x/32&lt;/PRE&gt;&lt;P&gt;And if you want to add it to a group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set address-group &amp;lt;address group&amp;gt; &amp;lt;address object&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 11:07:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/194390#M58166</guid>
      <dc:creator>TerjeLundbo</dc:creator>
      <dc:date>2018-01-09T11:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding address objects and tagging them via CLI.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/196334#M58489</link>
      <description>&lt;P&gt;I ended up using this method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set cli config-output-format set&lt;BR /&gt;configure&lt;BR /&gt;&lt;BR /&gt;set device-group &amp;lt;device_group_name &amp;gt; address &amp;lt; address_object_name&amp;gt; ip-netmask &amp;lt;ip_address/netmask&amp;gt;&lt;BR /&gt;set device-group &amp;lt; device_group_name&amp;gt; address &amp;lt; adsdress_object_name &amp;gt; tag &amp;lt;tag_name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 02:07:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-address-objects-and-tagging-them-via-cli/m-p/196334#M58489</guid>
      <dc:creator>Gareth.Doyle</dc:creator>
      <dc:date>2018-01-23T02:07:51Z</dc:date>
    </item>
  </channel>
</rss>

