<?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 Discard session in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp-discard-session/m-p/132427#M47074</link>
    <description>&lt;P&gt;sounds like your session discard state is being refreshed (by receiving dhcp packets too frequently) causing the same session to remain in discard state&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can change the discard state timeout:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;gt; show session info

...
--------------------------------------------------------------------------------
Session timeout
  TCP default timeout:                           3600 secs
  TCP session timeout before SYN-ACK received:      5 secs
  TCP session timeout before 3-way handshaking:    10 secs
  TCP half-closed session timeout:                120 secs
  TCP session timeout in TIME_WAIT:                15 secs
  TCP session timeout for unverified RST:          30 secs
  UDP default timeout:                             30 secs
  ICMP default timeout:                             6 secs
  other IP default timeout:                        30 secs
  Captive Portal session timeout:                  30 secs
  &lt;STRONG&gt;Session timeout in discard state:
    TCP: 90 secs, UDP: 60 secs, other IP protocols: 60 secs&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;you can use this operational command to change the timeout to figure out what is the ideal timeout&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; set session timeout-discard-udp 
  &amp;lt;value&amp;gt;  &amp;lt;1-15999999&amp;gt; set timeout of udp session in discard state
&lt;/PRE&gt;
&lt;P&gt;i would recommend gradually decreasing from the default 60 seconds and not immediately going to the 1 second minumum as there is a good reason the discard state is 60 seconds &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can change this timer through configuration once you find the sweet spot&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; configure 
Entering configuration mode
[edit]                                                                                                                                                                                          
admin@myNGFW# set deviceconfig setting session timeout-discard-udp 
  &amp;lt;value&amp;gt;  &amp;lt;1-15999999&amp;gt; set timeout of udp session in discard state

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2016 08:38:13 GMT</pubDate>
    <dc:creator>reaper</dc:creator>
    <dc:date>2016-12-12T08:38:13Z</dc:date>
    <item>
      <title>DHCP Discard session</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp-discard-session/m-p/132226#M47037</link>
      <description>&lt;P&gt;Scenario is we have ISP connected to Outside zone.&lt;/P&gt;&lt;P&gt;DHCP server on Inside Zone.&lt;/P&gt;&lt;P&gt;On Each satellite we have DHCP relay configured to readh DHCP server.&lt;/P&gt;&lt;P&gt;Whenever there is any issue with Power at location where interface connected to inside zone goes down.&lt;/P&gt;&lt;P&gt;Traffic gets routed to Outside zone and inturn gets discarded session as we dont have security policy to allow that traffic.&lt;/P&gt;&lt;P&gt;We have to manually clear that particular session for DHCP to work.&lt;/P&gt;&lt;P&gt;Any suggestions on this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 10:03:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp-discard-session/m-p/132226#M47037</guid>
      <dc:creator>fatboy1607</dc:creator>
      <dc:date>2016-12-09T10:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP Discard session</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/dhcp-discard-session/m-p/132427#M47074</link>
      <description>&lt;P&gt;sounds like your session discard state is being refreshed (by receiving dhcp packets too frequently) causing the same session to remain in discard state&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can change the discard state timeout:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;gt; show session info

...
--------------------------------------------------------------------------------
Session timeout
  TCP default timeout:                           3600 secs
  TCP session timeout before SYN-ACK received:      5 secs
  TCP session timeout before 3-way handshaking:    10 secs
  TCP half-closed session timeout:                120 secs
  TCP session timeout in TIME_WAIT:                15 secs
  TCP session timeout for unverified RST:          30 secs
  UDP default timeout:                             30 secs
  ICMP default timeout:                             6 secs
  other IP default timeout:                        30 secs
  Captive Portal session timeout:                  30 secs
  &lt;STRONG&gt;Session timeout in discard state:
    TCP: 90 secs, UDP: 60 secs, other IP protocols: 60 secs&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;you can use this operational command to change the timeout to figure out what is the ideal timeout&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; set session timeout-discard-udp 
  &amp;lt;value&amp;gt;  &amp;lt;1-15999999&amp;gt; set timeout of udp session in discard state
&lt;/PRE&gt;
&lt;P&gt;i would recommend gradually decreasing from the default 60 seconds and not immediately going to the 1 second minumum as there is a good reason the discard state is 60 seconds &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can change this timer through configuration once you find the sweet spot&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; configure 
Entering configuration mode
[edit]                                                                                                                                                                                          
admin@myNGFW# set deviceconfig setting session timeout-discard-udp 
  &amp;lt;value&amp;gt;  &amp;lt;1-15999999&amp;gt; set timeout of udp session in discard state

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 08:38:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/dhcp-discard-session/m-p/132427#M47074</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2016-12-12T08:38:13Z</dc:date>
    </item>
  </channel>
</rss>

