<?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: Unknown behavior of authentication timer and attempts in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4640628#M575777</link>
    <description>&lt;P class="lia-align-justify"&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1335250"&gt;@Marco__89&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1st&lt;/STRONG&gt;: the changes are:&lt;/P&gt;
&lt;PRE&gt;interface GigabitEthernet1/0/46&lt;BR /&gt; switchport voice vlan 707&lt;BR /&gt; authentication event fail retry 3 action next-method&lt;BR /&gt; authentication timer restart 10&lt;BR /&gt; dot1x timeout quiet-period 18&lt;BR /&gt; dot1x timeout tx-period 1&lt;BR /&gt; spanning-tree portfast&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;2nd&lt;/STRONG&gt;: the &lt;STRONG&gt;switchport voice vlan 707&lt;/STRONG&gt; and &lt;STRONG&gt;spanning-tree portfast&lt;/STRONG&gt; commands &lt;U&gt;are not part of the discussion&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3rd&lt;/STRONG&gt;:&lt;BR /&gt;You change the &lt;STRONG&gt;authentication event fail retry&lt;/STRONG&gt; from the &lt;STRONG&gt;default 2&lt;/STRONG&gt; to &lt;STRONG&gt;3&lt;/STRONG&gt;.&lt;BR /&gt;You change the &lt;STRONG&gt;authentication timer restart&lt;/STRONG&gt; from the &lt;STRONG&gt;default 60&lt;/STRONG&gt; to &lt;STRONG&gt;10&lt;/STRONG&gt;.&lt;BR /&gt;You change the &lt;STRONG&gt;dot1x timeout quiet-period&lt;/STRONG&gt; from the &lt;STRONG&gt;default 60&lt;/STRONG&gt; to &lt;STRONG&gt;18&lt;/STRONG&gt;.&lt;BR /&gt;You change the &lt;STRONG&gt;dot1x timeout tx-period&lt;/STRONG&gt; from &lt;STRONG&gt;7&lt;/STRONG&gt; to &lt;STRONG&gt;1&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4th&lt;/STRONG&gt;: you said "&lt;EM&gt; ...&amp;nbsp;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;the &lt;STRONG&gt;Switch&lt;/STRONG&gt; sends an &lt;STRONG&gt;EAP failure&lt;/STRONG&gt; because &lt;U&gt;he didn't receive any response from the&lt;/U&gt; &lt;STRONG&gt;PC&lt;/STRONG&gt; ...&lt;/EM&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try to change the &lt;STRONG&gt;dot1x max-eap-req&lt;/STRONG&gt; command from the &lt;STRONG&gt;default 2&lt;/STRONG&gt; to &lt;U&gt;other value&lt;/U&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Note: remember that the &lt;STRONG&gt;dot1x max-eap-req&lt;/STRONG&gt; command set the &lt;U&gt;maximum number of times&lt;/U&gt; the &lt;STRONG&gt;SW&lt;/STRONG&gt; sends an &lt;STRONG&gt;EAP Request/Identity Frame&lt;/STRONG&gt; (assuming that &lt;U&gt;NO response is received&lt;/U&gt;) to the &lt;STRONG&gt;Client&lt;/STRONG&gt; before restarting the &lt;STRONG&gt;Authentication Process&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Hope this helps !!!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 05:45:52 GMT</pubDate>
    <dc:creator>Marcelo Morais</dc:creator>
    <dc:date>2022-06-29T05:45:52Z</dc:date>
    <item>
      <title>Unknown behavior of authentication timer and attempts</title>
      <link>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4638514#M575713</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i'm stuck understanding how the authentication timer and attempts work with 802.1X. I'm using catalyst switch 3850 (OS XE&amp;nbsp;16.5.1a). The interface config is the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;interface GigabitEthernet1/0/46
 switchport access vlan 200
 switchport mode access
 device-tracking attach-policy DeviceTrackingPolicy
 authentication event fail action next-method
 authentication host-mode multi-auth
 authentication open
 authentication order dot1x mab
 authentication priority dot1x mab
 authentication port-control auto
 authentication periodic
 authentication timer reauthenticate server
 authentication timer inactivity server
 mab
 dot1x pae authenticator
 dot1x timeout tx-period 7
 dot1x max-reauth-req 3
end&lt;/PRE&gt;&lt;P&gt;and the config of dot1x PAE is the following&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PAE                       = AUTHENTICATOR
QuietPeriod               = 60
ServerTimeout             = 0
SuppTimeout               = 30
ReAuthMax                 = 3
MaxReq                    = 2
TxPeriod                  = 7&lt;/PRE&gt;&lt;P&gt;As you can see from the reported figure, the total authentication attempts are 2 (with 3 attempts of re-authentication). Also the time period between an EAP failure and the next attempts is equal to 60 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timer.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/154619i12582E24B7B092C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="timer.PNG" alt="timer.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody know hot to configure this 2 type of parameters?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 14:37:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4638514#M575713</guid>
      <dc:creator>Marco__89</dc:creator>
      <dc:date>2022-06-24T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown behavior of authentication timer and attempts</title>
      <link>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4639872#M575739</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1335250"&gt;@Marco__89&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;SPAN&gt;&amp;nbsp;please take a look at the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="lia-align-justify"&gt;&lt;SPAN&gt;(config-if)# dot1x max-reauth-req 3&lt;BR /&gt;(config-if)# authentication event fail retry &lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;&lt;U&gt;2&lt;/U&gt;&lt;/EM&gt;&lt;BR /&gt;(config-if)# dot1x timeout tx-period &lt;U&gt;&lt;EM&gt;7&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;(config-if)# dot1x timeout quiet-period &lt;U&gt;&lt;EM&gt;60&lt;/EM&gt;&lt;/U&gt; &amp;gt;&amp;gt; &lt;U&gt;the default&lt;/U&gt;&lt;U&gt;&lt;/U&gt;&lt;/PRE&gt;
&lt;P class="lia-align-justify"&gt;in this example the &lt;STRONG&gt;SW&lt;/STRONG&gt; sends the following &lt;STRONG&gt;Messages&lt;/STRONG&gt; to &lt;STRONG&gt;ISE&lt;/STRONG&gt;:&lt;BR /&gt;1x &lt;STRONG&gt;Authentication Request&lt;/STRONG&gt;&lt;BR /&gt;3x &lt;STRONG&gt;Reauthentication Message&lt;/STRONG&gt; (&lt;EM&gt;dot1x max-reauth-req&lt;/EM&gt; command)&lt;BR /&gt;2x &lt;STRONG&gt;Retries&lt;/STRONG&gt; (&lt;EM&gt;&lt;U&gt;authentication event fail retry&lt;/U&gt;&lt;/EM&gt; command)&lt;BR /&gt;So the &lt;STRONG&gt;Total Messages&lt;/STRONG&gt; sent by the &lt;STRONG&gt;SW&lt;/STRONG&gt; are: &lt;U&gt;(1 + 3) * 2 = 8&lt;/U&gt;.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Note: the &lt;STRONG&gt;Quiet Period&lt;/STRONG&gt; default value is &lt;STRONG&gt;60 sec&lt;/STRONG&gt; (the time interval that the device remains in a quiet state following a &lt;U&gt;failed Authentication exchange&lt;/U&gt;)&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Hope this helps !!!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 20:11:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4639872#M575739</guid>
      <dc:creator>Marcelo Morais</dc:creator>
      <dc:date>2022-06-27T20:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown behavior of authentication timer and attempts</title>
      <link>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4640137#M575748</link>
      <description>&lt;P&gt;Thanks Marcelo for the reply.&lt;/P&gt;&lt;P&gt;I changed a bit the config:&lt;/P&gt;&lt;PRE&gt;interface GigabitEthernet1/0/46
 switchport access vlan 200
 switchport mode access
 switchport voice vlan 707
 device-tracking attach-policy DeviceTrackingPolicy
 authentication event fail retry 3 action next-method
 authentication host-mode multi-auth
 authentication open
 authentication order dot1x mab
 authentication priority dot1x mab
 authentication port-control auto
 authentication periodic
 authentication timer reauthenticate server
 authentication timer restart 10
 authentication timer inactivity server
 mab
 dot1x pae authenticator
 dot1x timeout quiet-period 18
 dot1x timeout tx-period 1
 dot1x max-reauth-req 3
 spanning-tree portfast
end&lt;/PRE&gt;&lt;P&gt;Here i reported the authentication process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Until packet n. 1498, PC is trying to connect with its windows native 802.1x supplicant. ISE (and therefore the switch) send to it an access-reject (failure eap message). At this point the switch send:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1 Access-Request (authentication message)&lt;/LI&gt;&lt;LI&gt;3 Reauthentication Attempt messages&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After this 4 messages, the switch sends an EAP failure beacause he didn't receive any response from the PC. Note that the PC doesn't respond because (this is mine hypotheisy) its supplicant is in a timeout state and therefore it doesn't respond for a time interval period (i can not find its value neither from windows configuration nor from web forum). After 10 seconds (value of restart timer) it begins the process (sending 4 messages). After that, the switch try to use MAB and doing so it is able to authenticate the user.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solo.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/154768i4D60BC0A97ADB375/image-size/medium?v=v2&amp;amp;px=400" role="button" title="solo.PNG" alt="solo.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case the quiet period timer (that i configured with 18 seconds) dosen't beeing used. Instead the restart timer is used.&lt;/P&gt;&lt;P&gt;Also i configured (as you sad) the number of attempts with&lt;/P&gt;&lt;PRE&gt;authentication event fail retry 3 action next-method&lt;/PRE&gt;&lt;P&gt;However, as you can see, the switch used 2 attempts to authenticate the PC. Trying also to change this value to 4,5,6 the behaviour is the same as reported in the figure.&lt;/P&gt;&lt;P&gt;Can you explain to me this 2 behavior? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 09:36:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4640137#M575748</guid>
      <dc:creator>Marco__89</dc:creator>
      <dc:date>2022-06-28T09:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown behavior of authentication timer and attempts</title>
      <link>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4640628#M575777</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1335250"&gt;@Marco__89&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1st&lt;/STRONG&gt;: the changes are:&lt;/P&gt;
&lt;PRE&gt;interface GigabitEthernet1/0/46&lt;BR /&gt; switchport voice vlan 707&lt;BR /&gt; authentication event fail retry 3 action next-method&lt;BR /&gt; authentication timer restart 10&lt;BR /&gt; dot1x timeout quiet-period 18&lt;BR /&gt; dot1x timeout tx-period 1&lt;BR /&gt; spanning-tree portfast&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;2nd&lt;/STRONG&gt;: the &lt;STRONG&gt;switchport voice vlan 707&lt;/STRONG&gt; and &lt;STRONG&gt;spanning-tree portfast&lt;/STRONG&gt; commands &lt;U&gt;are not part of the discussion&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3rd&lt;/STRONG&gt;:&lt;BR /&gt;You change the &lt;STRONG&gt;authentication event fail retry&lt;/STRONG&gt; from the &lt;STRONG&gt;default 2&lt;/STRONG&gt; to &lt;STRONG&gt;3&lt;/STRONG&gt;.&lt;BR /&gt;You change the &lt;STRONG&gt;authentication timer restart&lt;/STRONG&gt; from the &lt;STRONG&gt;default 60&lt;/STRONG&gt; to &lt;STRONG&gt;10&lt;/STRONG&gt;.&lt;BR /&gt;You change the &lt;STRONG&gt;dot1x timeout quiet-period&lt;/STRONG&gt; from the &lt;STRONG&gt;default 60&lt;/STRONG&gt; to &lt;STRONG&gt;18&lt;/STRONG&gt;.&lt;BR /&gt;You change the &lt;STRONG&gt;dot1x timeout tx-period&lt;/STRONG&gt; from &lt;STRONG&gt;7&lt;/STRONG&gt; to &lt;STRONG&gt;1&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4th&lt;/STRONG&gt;: you said "&lt;EM&gt; ...&amp;nbsp;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;the &lt;STRONG&gt;Switch&lt;/STRONG&gt; sends an &lt;STRONG&gt;EAP failure&lt;/STRONG&gt; because &lt;U&gt;he didn't receive any response from the&lt;/U&gt; &lt;STRONG&gt;PC&lt;/STRONG&gt; ...&lt;/EM&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try to change the &lt;STRONG&gt;dot1x max-eap-req&lt;/STRONG&gt; command from the &lt;STRONG&gt;default 2&lt;/STRONG&gt; to &lt;U&gt;other value&lt;/U&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Note: remember that the &lt;STRONG&gt;dot1x max-eap-req&lt;/STRONG&gt; command set the &lt;U&gt;maximum number of times&lt;/U&gt; the &lt;STRONG&gt;SW&lt;/STRONG&gt; sends an &lt;STRONG&gt;EAP Request/Identity Frame&lt;/STRONG&gt; (assuming that &lt;U&gt;NO response is received&lt;/U&gt;) to the &lt;STRONG&gt;Client&lt;/STRONG&gt; before restarting the &lt;STRONG&gt;Authentication Process&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Hope this helps !!!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 05:45:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/unknown-behavior-of-authentication-timer-and-attempts/m-p/4640628#M575777</guid>
      <dc:creator>Marcelo Morais</dc:creator>
      <dc:date>2022-06-29T05:45:52Z</dc:date>
    </item>
  </channel>
</rss>

