<?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: DHCP in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148884#M49677</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Update away from 7.1.0 and install the latest supported 7.1.*. The version you are currently running was very early in the 7.1 life cycle and has some bugs you may be running into.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The api call would look something like&amp;nbsp;https://&lt;EM&gt;firewall&lt;/EM&gt;/api/?type=op&amp;amp;cmd=&amp;lt;clear&amp;gt;&amp;lt;dhcp&amp;gt;&amp;lt;lease&amp;gt;&amp;lt;all&amp;gt;&amp;lt;expired-only&amp;gt;&amp;lt;/expired-only&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/lease&amp;gt;&amp;lt;/dhcp&amp;gt;&amp;lt;/clear&amp;gt;&amp;amp;key=&lt;EM&gt;apikey&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace&amp;nbsp;&lt;EM&gt;firewall&amp;nbsp;&lt;/EM&gt;and&amp;nbsp;&lt;EM&gt;apikey&lt;/EM&gt; with whatever your local values should be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you were looking to schedule it you could easily do this with a powershell script. Keep in mind that the api call I have listed is only looking for expired leases across all interfaces, which sounds like what you need but you may need to modify to meet your needs.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 14:28:51 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2017-03-22T14:28:51Z</dc:date>
    <item>
      <title>DHCP</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148696#M49633</link>
      <description>&lt;P&gt;We've used Palo alto as DHCP server for all our wireless infrastructure, we notice that after one hour the IP has to expire and be release, however it keep the expired session on the DHCP and we have to manually clear out this from cli.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the pool is full no dhcp ip is released.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone does know the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly can we automate the commands to run at specific time on Palo alto. E.g show session run every 8 hours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 19:36:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148696#M49633</guid>
      <dc:creator>Denis</dc:creator>
      <dc:date>2017-03-21T19:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148777#M49646</link>
      <description>&lt;P&gt;Any hints please on how to troubleshoot this expired session&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 04:10:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148777#M49646</guid>
      <dc:creator>Denis</dc:creator>
      <dc:date>2017-03-22T04:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148803#M49652</link>
      <description>&lt;P&gt;Hi Denis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;Could you elaborate on your DHCP configuration (and PAN-OS version, some old version may have a bug)?&lt;/P&gt;
&lt;P&gt;The default setting is an unlimited lease, this could cause your problem as leases will not be released&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A lease may remain visible after the client has gone offline/off network, but the lease should be reused once the lease period has expired and a client requests an IP (unless the lease is unlimited)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;you can automate an API call to fetch the info you like whenever you want:&lt;/P&gt;
&lt;PRE&gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;session&amp;gt;&amp;lt;all&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/session&amp;gt;&amp;lt;/show&amp;gt;&lt;/PRE&gt;
&lt;P&gt;here's a few helpful articles on the API:&lt;/P&gt;
&lt;P&gt;&lt;A title="Tips &amp;amp; Tricks: API configuration" href="https://live.paloaltonetworks.com/t5/Featured-Articles/Tips-amp-Tricks-API-configuration/ta-p/72917" target="_blank"&gt;Tips &amp;amp; Tricks: API configuration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="Getting Started with the API " href="https://live.paloaltonetworks.com/t5/Management-Articles/Getting-Started-with-the-API/ta-p/65889" target="_blank"&gt;Getting Started with the API &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 09:28:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148803#M49652</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2017-03-22T09:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148875#M49672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Answers are below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) We currently have a lease time of 1 hr and no Reserve IP. &amp;nbsp;We are running PAN OS 7.1.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2) Can you please explain to me how can I schedule the task of clearing DHCP from the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 14:11:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148875#M49672</guid>
      <dc:creator>Denis</dc:creator>
      <dc:date>2017-03-22T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148883#M49676</link>
      <description>&lt;P&gt;I'd recommend upgrading your PAN-OS to a more recent version, 7.1.7 and 7.1.8 are currently recommended releases , in case the .0 release has a bug that locks the leases somehow. if that doesn't fix the issue you may need to get in touch with support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for a scheduled API call you could use this command:&lt;/P&gt;
&lt;PRE&gt;/api/?type=op&amp;amp;cmd=&amp;lt;clear&amp;gt;&amp;lt;dhcp&amp;gt;&amp;lt;lease&amp;gt;&amp;lt;all&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/lease&amp;gt;&amp;lt;/dhcp&amp;gt;&amp;lt;/clear&amp;gt;&lt;/PRE&gt;
&lt;P&gt;there's an API browser that allows you to explore all available commands:&lt;/P&gt;
&lt;PRE&gt;https://&amp;lt;IP of your firewall&amp;gt;/API&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Mar 2017 14:28:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148883#M49676</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2017-03-22T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148884#M49677</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Update away from 7.1.0 and install the latest supported 7.1.*. The version you are currently running was very early in the 7.1 life cycle and has some bugs you may be running into.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The api call would look something like&amp;nbsp;https://&lt;EM&gt;firewall&lt;/EM&gt;/api/?type=op&amp;amp;cmd=&amp;lt;clear&amp;gt;&amp;lt;dhcp&amp;gt;&amp;lt;lease&amp;gt;&amp;lt;all&amp;gt;&amp;lt;expired-only&amp;gt;&amp;lt;/expired-only&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/lease&amp;gt;&amp;lt;/dhcp&amp;gt;&amp;lt;/clear&amp;gt;&amp;amp;key=&lt;EM&gt;apikey&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace&amp;nbsp;&lt;EM&gt;firewall&amp;nbsp;&lt;/EM&gt;and&amp;nbsp;&lt;EM&gt;apikey&lt;/EM&gt; with whatever your local values should be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you were looking to schedule it you could easily do this with a powershell script. Keep in mind that the api call I have listed is only looking for expired leases across all interfaces, which sounds like what you need but you may need to modify to meet your needs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 14:28:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp/m-p/148884#M49677</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2017-03-22T14:28:51Z</dc:date>
    </item>
  </channel>
</rss>

