<?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: 802.1x - Voice VLAN conflict when port-security enabled in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217908#M592871</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Let's see the logging outputs, however keep in mind that port-security and port-control(authentication enabled) are not always working great together. Either, what I suspect is that the phone becomes silent for 5 minutes (port-security aging time of type inactivity), and afterwards switch restarts authentication process (reason why I asked for the logs with ideally timestamps); try to increase aging time to the maximum via&amp;nbsp;"&lt;STRONG&gt;switch port port-security aging time 1440&lt;/STRONG&gt;".&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Cristian.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 08:14:15 GMT</pubDate>
    <dc:creator>Cristian Matei</dc:creator>
    <dc:date>2024-10-31T08:14:15Z</dc:date>
    <item>
      <title>802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217724#M592855</link>
      <description>&lt;P&gt;I am having an issue with Cisco IP Phones on the VOICE vlan when port-security is enabled on the interface. The DATA vlan is fine with or without port-security. With port-security, the phone re-auths every couple of minutes. The switches are Cisco 9300s. My RADIUS server is ClearPass 6.11.&amp;nbsp; This is my port config:&lt;/P&gt;&lt;P&gt;interface TwoGigabitEthernet2/0/5&lt;BR /&gt;description =Wallport h01=&lt;BR /&gt;switchport access vlan 10&lt;BR /&gt;switchport mode access&lt;BR /&gt;switchport voice vlan 52&lt;BR /&gt;switchport port-security maximum 10&lt;BR /&gt;switchport port-security violation restrict&lt;BR /&gt;switchport port-security aging time 5&lt;BR /&gt;switchport port-security aging type inactivity&lt;BR /&gt;switchport port-security&lt;BR /&gt;ip arp inspection limit rate 100&lt;BR /&gt;speed auto 100 1000&lt;BR /&gt;authentication event fail action next-method&lt;BR /&gt;authentication event server dead action authorize&lt;BR /&gt;authentication event server alive action reinitialize&lt;BR /&gt;authentication host-mode multi-auth&lt;BR /&gt;authentication order mab dot1x&lt;BR /&gt;authentication priority dot1x mab&lt;BR /&gt;authentication port-control auto&lt;BR /&gt;authentication periodic&lt;BR /&gt;authentication timer reauthenticate 14400&lt;BR /&gt;authentication violation restrict&lt;BR /&gt;mab&lt;BR /&gt;trust device cisco-phone&lt;BR /&gt;dot1x pae authenticator&lt;BR /&gt;dot1x timeout tx-period 120&lt;BR /&gt;dot1x max-reauth-req 3&lt;BR /&gt;auto qos voip cisco-phone&lt;BR /&gt;spanning-tree portfast&lt;BR /&gt;service-policy input AutoQos-4.0-CiscoPhone-Input-Policy&lt;BR /&gt;service-policy output AutoQos-4.0-Output-Policy&lt;BR /&gt;ip verify source mac-check&lt;/P&gt;&lt;P&gt;My requirement is that no more than 5 MACs can be authenticated to a single interface (by plugging in a dumb switch). If that can be accomplished with dot1x/MAB, please share the config required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The uptime will count up to around 2 minutes, then drop and re-auth.&lt;/P&gt;&lt;P&gt;sh auth hist&lt;BR /&gt;Interface MAC Address Method Domain Status Uptime&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Tw2/0/5 4cec.0f94.xxxx mab VOICE Auth 36&lt;/P&gt;&lt;P&gt;Dot1x Info for TwoGigabitEthernet2/0/5&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;PAE = AUTHENTICATOR&lt;BR /&gt;QuietPeriod = 60&lt;BR /&gt;ServerTimeout = 0&lt;BR /&gt;SuppTimeout = 30&lt;BR /&gt;ReAuthMax = 3&lt;BR /&gt;MaxReq = 2&lt;BR /&gt;TxPeriod = 120&lt;/P&gt;&lt;P&gt;Thanks for any advice.&lt;/P&gt;&lt;P&gt;Bob Lee&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 21:12:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217724#M592855</guid>
      <dc:creator>ballydbob</dc:creator>
      <dc:date>2024-10-30T21:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217727#M592856</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I assume that Phone is functional, other than constant authentication, right? Can you provide the output of command "&lt;STRONG&gt;show authentication sessions interface TwoGigabitEthernet2/0/5 details&lt;/STRONG&gt;" when the phone is authenticated? What RADIUS attributes are you sending over to the switch as authorization for the phone? Can you enable "&lt;STRONG&gt;mab logging&lt;/STRONG&gt;" and "&lt;STRONG&gt;epm logging&lt;/STRONG&gt;" and provide the logs after phone re-authenticates?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Cristian.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 21:29:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217727#M592856</guid>
      <dc:creator>Cristian Matei</dc:creator>
      <dc:date>2024-10-30T21:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217750#M592859</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1563110"&gt;@ballydbob&lt;/a&gt;&amp;nbsp;do you have CDP enabled?&lt;/P&gt;
&lt;P&gt;Do the phones behave when port security is removed from the interface config?&lt;/P&gt;
&lt;P&gt;One issue I have seen with phones is that if they are not very chatty, then their sessions timeout, and then the next frame that is sent by the phone causes another round of Authentication. You want to ensure the sessions stay alive - regular CDP messages help. I don't deal with IBNS 1.0 much these days, but is there an inactivity timer?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is device-tracking enabled?&amp;nbsp; Device tracking will send an ARP at regular configurable intervals to illicit a response from the device - that also tends to keep non-chatty sessions alive.&lt;/P&gt;
&lt;P&gt;Do you have 802.1X enabled on the phones?&amp;nbsp; Looks like they were authd using MAB - if that's what you want to have happen, then you must ensure that the phone has 802.1X disabled, or it will try sending EAPOL messages all day long,.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 22:42:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217750#M592859</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2024-10-30T22:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217785#M592860</link>
      <description>&lt;P&gt;Thanks for the tips, Cristian.&amp;nbsp; Here's the output of sh auth session...&lt;/P&gt;&lt;P&gt;H01-389-1#show authentication sessions interface TwoGigabitEthernet2/0/5 details&lt;BR /&gt;Interface: TwoGigabitEthernet2/0/5&lt;BR /&gt;IIF-ID: 0x1651CEFD&lt;BR /&gt;MAC Address: 4cec.0f94.441d&lt;BR /&gt;IPv6 Address: Unknown&lt;BR /&gt;IPv4 Address: 10.200.32.163&lt;BR /&gt;User-Name: 4cec0f94441d&lt;BR /&gt;Status: Authorized&lt;BR /&gt;Domain: VOICE&lt;BR /&gt;Oper host mode: multi-auth&lt;BR /&gt;Oper control dir: both&lt;BR /&gt;Session timeout: 14400s (local), Remaining: 14368s&lt;BR /&gt;Timeout action: Reauthenticate&lt;BR /&gt;Common Session ID: 000000000000E87AE03CAC72&lt;BR /&gt;Acct Session ID: 0x00006496&lt;BR /&gt;Handle: 0xb400067e&lt;BR /&gt;Current Policy: POLICY_Tw2/0/5&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Local Policies:&lt;BR /&gt;Service Template: DEFAULT_LINKSEC_POLICY_SHOULD_SECURE (priority 150)&lt;BR /&gt;Security Policy: Should Secure&lt;/P&gt;&lt;P&gt;Server Policies:&lt;BR /&gt;Session-Timeout: 10800 sec&lt;BR /&gt;Vlan Group: Vlan: 52&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Method status list:&lt;BR /&gt;Method State&lt;BR /&gt;mab Authc Success&lt;/P&gt;&lt;P&gt;I haven't run the debugs yet, but I will.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 02:15:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217785#M592860</guid>
      <dc:creator>ballydbob</dc:creator>
      <dc:date>2024-10-31T02:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217790#M592861</link>
      <description>&lt;P&gt;Hi Arne,&lt;/P&gt;&lt;P&gt;Yes, CDP is on.&amp;nbsp; Here is the partial output. Only this phone interface has both dot1x/mab AND port-security.&amp;nbsp; When I remove port-security, it all behaves as expected. And port-security only affects the VOICE vlan. The client laptop on the DATA vlan is fine either with or without port-security.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using MAB and dot1x is NOT enabled on the phone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sh cdp neigh&lt;BR /&gt;Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge&lt;BR /&gt;S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,&lt;BR /&gt;D - Remote, C - CVTA, M - Two-port Mac Relay&lt;/P&gt;&lt;P&gt;Device ID Local Intrfce Holdtme Capability Platform Port ID&lt;BR /&gt;axis-b8a44fb23da1&lt;BR /&gt;Two 2/0/28 106 H Linux eth0&lt;BR /&gt;axis-b8a44faf6d79&lt;BR /&gt;Two 2/0/27 95 H Linux eth0&lt;BR /&gt;H01-389-100.uchicago.net&lt;BR /&gt;Ten 1/1/5 138 R S I C9500-40X Ten 1/0/6&lt;BR /&gt;H01-389-100.uchicago.net&lt;BR /&gt;Ten 1/1/1 121 R S I C9500-40X Ten 1/0/5&lt;BR /&gt;Turner_Woodlawn.tcco.org&lt;BR /&gt;Two 1/0/12 165 R B S C891F-K9 Gig 8&lt;BR /&gt;SEP00258416BA9E Two 2/0/22 177 H P M IP Phone Port 1&lt;BR /&gt;SEPE8D322EA39F2 Two 1/0/29 143 H P M IP Phone Port 1&lt;BR /&gt;SEP4CEC0F94441D Two 2/0/5 139 H P M IP Phone Port 1&lt;BR /&gt;SEPCC36CF98D866 Two 2/0/7 128 H P M IP Phone Port 1&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 02:29:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217790#M592861</guid>
      <dc:creator>ballydbob</dc:creator>
      <dc:date>2024-10-31T02:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217908#M592871</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Let's see the logging outputs, however keep in mind that port-security and port-control(authentication enabled) are not always working great together. Either, what I suspect is that the phone becomes silent for 5 minutes (port-security aging time of type inactivity), and afterwards switch restarts authentication process (reason why I asked for the logs with ideally timestamps); try to increase aging time to the maximum via&amp;nbsp;"&lt;STRONG&gt;switch port port-security aging time 1440&lt;/STRONG&gt;".&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Cristian.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 08:14:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217908#M592871</guid>
      <dc:creator>Cristian Matei</dc:creator>
      <dc:date>2024-10-31T08:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217943#M592873</link>
      <description>&lt;P&gt;from cisco doc.&lt;/P&gt;
&lt;P&gt;""Whenever port security ages out a 802.1X client’s MAC address, 802.1X attempts to reauthenticate&lt;BR /&gt;the client. Only if the reauthentication succeeds will the client’s MAC address be retained in the port&lt;BR /&gt;security table.""&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 09:25:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5217943#M592873</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2024-10-31T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5218187#M592889</link>
      <description>&lt;P&gt;Why 5 MAC addresses? if you will have a single endpoint and a phone connected to the switch port then you can use "authentication host-mode multi-domain". This will only allow a single endpoint and a voice device (phone) to be connected to the port. Another option would be to restrict the phone accesses to the port via configuring an group on the RADIUS server where you add only the allowed MAC addresses. Both these options would work without switch port security enabled.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:17:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5218187#M592889</guid>
      <dc:creator>Aref Alsouqi</dc:creator>
      <dc:date>2024-10-31T15:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: 802.1x - Voice VLAN conflict when port-security enabled</title>
      <link>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5218815#M592924</link>
      <description>&lt;P&gt;Unfortunately, changing&amp;nbsp;&lt;STRONG&gt;switch port port-security aging time 1440&amp;nbsp;&lt;/STRONG&gt;did not solve the issue.&amp;nbsp; It still re-auths every minute or so.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 21:14:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/802-1x-voice-vlan-conflict-when-port-security-enabled/m-p/5218815#M592924</guid>
      <dc:creator>ballydbob</dc:creator>
      <dc:date>2024-11-01T21:14:48Z</dc:date>
    </item>
  </channel>
</rss>

