<?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 IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3691265#M25236</link>
    <description>&lt;P&gt;Hello Cisco community,&lt;BR /&gt;&lt;BR /&gt;I am struggling a bit with the combination of IBNS 2.0 and interface/service templates.&lt;BR /&gt;&lt;BR /&gt;My environment looks following:&lt;BR /&gt;- ISE 2.3, patch 4&lt;BR /&gt;- IBNS 2.0 / 802.1X and MAB simultaneously&lt;BR /&gt;- Authenticator / Catalyst 3850, SW 16.9.1&lt;BR /&gt;- Supplicants / Cisco FlexConnect AP2800 and NEAT Switch 3560cx&lt;BR /&gt;&lt;BR /&gt;There are 3 interface templates configured on the switches. The template called DEFAULT_ACCESSPORT is the default one attached to all user ports. Then we have two additional templates, one for the FlexAPs called DEFAULT_WLAN_AP_PORT and second for the NEAT Supplicant Switches called NEAT_AUTHZ. The reason for using additional templates is that we need to change the mode of switch ports from access to trunk for all FlexAPs and NEAT Supplicant switches.&lt;BR /&gt;&lt;BR /&gt;If we send “only” dVLAN and/or dACL as a part of authorization rules from the ISE to the switches, it works properly as there is no dynamic interface template assignment. Once the ISE send also the name of the interface/service template that is configured locally to the switches to change the mode of the switch port, it does not work correctly unless we configure the command &lt;STRONG&gt;access-session interface-template sticky &lt;/STRONG&gt;under the template DEFAULT_ACCESSPORT.&lt;BR /&gt;&lt;BR /&gt;Cisco says about this command: The access-session interface-template sticky command is mandatory to apply an inbuilt template that contains access-session commands on an interface.&lt;BR /&gt;&lt;BR /&gt;But using this command breaks the concept of dynamic configuration as the switch port configuration remains active even the port is shutdown or the device is disconnected.&lt;BR /&gt;&lt;BR /&gt;Is there any other way how to make it working in combination of IBSN2.0 with dynamic interface/service templates? Because in my opinion, this sticky command breaks up the whole concept with dynamic templates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would like to avoid using macros if possible as they affect all switchports.&lt;BR /&gt;&lt;BR /&gt;The Interface Templates:&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;template DEFAULT_ACCESSPORT&lt;BR /&gt;&amp;nbsp;dot1x pae authenticator&lt;BR /&gt;&amp;nbsp;spanning-tree bpduguard enable&lt;BR /&gt;&amp;nbsp;switchport access vlan 3&lt;BR /&gt;&amp;nbsp;switchport mode access&lt;BR /&gt;&amp;nbsp;switchport voice vlan 2&lt;BR /&gt;&amp;nbsp;mab&lt;BR /&gt;&amp;nbsp;access-session host-mode multi-domain&lt;BR /&gt;&amp;nbsp;access-session control-direction in&lt;BR /&gt;&amp;nbsp;access-session port-control auto&lt;BR /&gt;&amp;nbsp;access-session interface-template sticky&lt;BR /&gt;&amp;nbsp;service-policy type control subscriber DOT1X_DEFAULT_POLICY&lt;BR /&gt;!&lt;BR /&gt;template DEFAULT_WLAN_AP_PORT&lt;BR /&gt;&amp;nbsp;dot1x pae authenticator&lt;BR /&gt;&amp;nbsp;spanning-tree portfast trunk&lt;BR /&gt;&amp;nbsp;spanning-tree bpduguard enable&lt;BR /&gt;&amp;nbsp;switchport trunk native vlan 10&lt;BR /&gt;&amp;nbsp;switchport mode trunk&lt;BR /&gt;&amp;nbsp;switchport nonegotiate&lt;BR /&gt;&amp;nbsp;mab&lt;BR /&gt;&amp;nbsp;access-session host-mode multi-host&lt;BR /&gt;&amp;nbsp;access-session control-direction in&lt;BR /&gt;&amp;nbsp;access-session port-control auto&lt;BR /&gt;!&lt;BR /&gt;template NEAT_AUTHZ&lt;BR /&gt;&amp;nbsp;spanning-tree portfast trunk&lt;BR /&gt;&amp;nbsp;spanning-tree bpduguard disable&lt;BR /&gt;&amp;nbsp;switchport trunk native vlan 3&lt;BR /&gt;&amp;nbsp;switchport mode trunk&lt;BR /&gt;&amp;nbsp;access-session host-mode multi-host&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 08:48:34 GMT</pubDate>
    <dc:creator>Jozef Cmorej</dc:creator>
    <dc:date>2019-03-11T08:48:34Z</dc:date>
    <item>
      <title>IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3691265#M25236</link>
      <description>&lt;P&gt;Hello Cisco community,&lt;BR /&gt;&lt;BR /&gt;I am struggling a bit with the combination of IBNS 2.0 and interface/service templates.&lt;BR /&gt;&lt;BR /&gt;My environment looks following:&lt;BR /&gt;- ISE 2.3, patch 4&lt;BR /&gt;- IBNS 2.0 / 802.1X and MAB simultaneously&lt;BR /&gt;- Authenticator / Catalyst 3850, SW 16.9.1&lt;BR /&gt;- Supplicants / Cisco FlexConnect AP2800 and NEAT Switch 3560cx&lt;BR /&gt;&lt;BR /&gt;There are 3 interface templates configured on the switches. The template called DEFAULT_ACCESSPORT is the default one attached to all user ports. Then we have two additional templates, one for the FlexAPs called DEFAULT_WLAN_AP_PORT and second for the NEAT Supplicant Switches called NEAT_AUTHZ. The reason for using additional templates is that we need to change the mode of switch ports from access to trunk for all FlexAPs and NEAT Supplicant switches.&lt;BR /&gt;&lt;BR /&gt;If we send “only” dVLAN and/or dACL as a part of authorization rules from the ISE to the switches, it works properly as there is no dynamic interface template assignment. Once the ISE send also the name of the interface/service template that is configured locally to the switches to change the mode of the switch port, it does not work correctly unless we configure the command &lt;STRONG&gt;access-session interface-template sticky &lt;/STRONG&gt;under the template DEFAULT_ACCESSPORT.&lt;BR /&gt;&lt;BR /&gt;Cisco says about this command: The access-session interface-template sticky command is mandatory to apply an inbuilt template that contains access-session commands on an interface.&lt;BR /&gt;&lt;BR /&gt;But using this command breaks the concept of dynamic configuration as the switch port configuration remains active even the port is shutdown or the device is disconnected.&lt;BR /&gt;&lt;BR /&gt;Is there any other way how to make it working in combination of IBSN2.0 with dynamic interface/service templates? Because in my opinion, this sticky command breaks up the whole concept with dynamic templates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would like to avoid using macros if possible as they affect all switchports.&lt;BR /&gt;&lt;BR /&gt;The Interface Templates:&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;template DEFAULT_ACCESSPORT&lt;BR /&gt;&amp;nbsp;dot1x pae authenticator&lt;BR /&gt;&amp;nbsp;spanning-tree bpduguard enable&lt;BR /&gt;&amp;nbsp;switchport access vlan 3&lt;BR /&gt;&amp;nbsp;switchport mode access&lt;BR /&gt;&amp;nbsp;switchport voice vlan 2&lt;BR /&gt;&amp;nbsp;mab&lt;BR /&gt;&amp;nbsp;access-session host-mode multi-domain&lt;BR /&gt;&amp;nbsp;access-session control-direction in&lt;BR /&gt;&amp;nbsp;access-session port-control auto&lt;BR /&gt;&amp;nbsp;access-session interface-template sticky&lt;BR /&gt;&amp;nbsp;service-policy type control subscriber DOT1X_DEFAULT_POLICY&lt;BR /&gt;!&lt;BR /&gt;template DEFAULT_WLAN_AP_PORT&lt;BR /&gt;&amp;nbsp;dot1x pae authenticator&lt;BR /&gt;&amp;nbsp;spanning-tree portfast trunk&lt;BR /&gt;&amp;nbsp;spanning-tree bpduguard enable&lt;BR /&gt;&amp;nbsp;switchport trunk native vlan 10&lt;BR /&gt;&amp;nbsp;switchport mode trunk&lt;BR /&gt;&amp;nbsp;switchport nonegotiate&lt;BR /&gt;&amp;nbsp;mab&lt;BR /&gt;&amp;nbsp;access-session host-mode multi-host&lt;BR /&gt;&amp;nbsp;access-session control-direction in&lt;BR /&gt;&amp;nbsp;access-session port-control auto&lt;BR /&gt;!&lt;BR /&gt;template NEAT_AUTHZ&lt;BR /&gt;&amp;nbsp;spanning-tree portfast trunk&lt;BR /&gt;&amp;nbsp;spanning-tree bpduguard disable&lt;BR /&gt;&amp;nbsp;switchport trunk native vlan 3&lt;BR /&gt;&amp;nbsp;switchport mode trunk&lt;BR /&gt;&amp;nbsp;access-session host-mode multi-host&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 08:48:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3691265#M25236</guid>
      <dc:creator>Jozef Cmorej</dc:creator>
      <dc:date>2019-03-11T08:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708496#M25238</link>
      <description>&lt;P&gt;I am suffering from the exact same problem.&amp;nbsp; Did you find a fix for this yet?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When debugging is enabled, I can see the template assignment is going through an infinite "bind-&amp;gt;unbind-&amp;gt;bind-&amp;gt;unbind" loop and never get assigned&amp;nbsp;properly to the interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding the "sticky" command to the original interface template seems to fix the issue. But as you said, this would essentially break the dynamic nature of the port, so doesn't really make much sense to use it in our use-case where want the port to&amp;nbsp;go back to DEFAULT settings/template and be available if a user plugs in a PC or a Phone at a later stage.&lt;/P&gt;
&lt;PRE&gt;Debug output (snip)

*Sep 18 03:39:57.588: TEMPLATE EVENT: Gi1/0/1: Binding template INTERFACE_TEMPLATE_LWAP
*Sep 18 03:39:57.599: AUTH-EVENT: [Gi1/0/1] Set port control (2-&amp;gt;3)
*Sep 18 03:39:57.618: AUTH-EVENT: Updating LL action params for unauthz call for domain 1ter no mo
*Sep 18 03:39:57.622: AUTH-EVENT: Host mode is SH/MH. mac_seen flag unset in subblock
*Sep 18 03:39:57.625: TEMPLATE EVENT: Gi1/0/1: Unbinding template INTERFACE_TEMPLATE_LWAP&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 04:10:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708496#M25238</guid>
      <dc:creator>shamax_1983</dc:creator>
      <dc:date>2018-09-18T04:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708536#M25239</link>
      <description>Unfortunately no fix yet. We have open several TAC cases as it seems to be all bugs.</description>
      <pubDate>Tue, 18 Sep 2018 07:04:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708536#M25239</guid>
      <dc:creator>Jozef Cmorej</dc:creator>
      <dc:date>2018-09-18T07:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708566#M25240</link>
      <description>&lt;P&gt;Thanks for&amp;nbsp;getting back to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was afraid of that. In any case, I will be opening&amp;nbsp;a TAC case too, so at least we can get a fix sooner rather than later.&lt;/P&gt;
&lt;P&gt;What I figured is that, most of the fancy things that Cisco claim to work with Dynamic Template Assignments (as it relates to IBNS2.0 and ISE) are so buggy. Even the most simple use-case with a simple template assignment&amp;nbsp;won't work.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 07:59:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708566#M25240</guid>
      <dc:creator>shamax_1983</dc:creator>
      <dc:date>2018-09-18T07:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708570#M25241</link>
      <description>&lt;P&gt;I agree with you. We also figured it out, that different HW platforms and SW versions behave differently. Some of them have more troubles with dynamic templates than others. I have already spent tens of hours trying to make it work but unsuccessfully. I am convinced these features are not fully prepared for being deployed in live environment at the moment.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:13:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3708570#M25241</guid>
      <dc:creator>Jozef Cmorej</dc:creator>
      <dc:date>2018-09-18T20:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3714914#M25244</link>
      <description>&lt;P&gt;According to Cisco IBNS Experts, the sticky command is mandatory to use in conjunction with dynamic templates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They suggested us trying to configure “sticky timer” and check if it helps. Unfortunately, it did not help us much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using this command, after the client disconnect (or port is shut) the template binding should be removed after xx seconds.&lt;/P&gt;
&lt;P&gt;below link for more details about the bug:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCva74457/?referring_site=ss&amp;amp;dtid=osscdc000283" target="_blank"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCva74457/?referring_site=ss&amp;amp;dtid=osscdc000283&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have just tested the command “access-session interface-template sticky timer 10” &lt;STRONG&gt;on the Catalyst 3850 SW 16.9.1&lt;/STRONG&gt;. When I type this command under the default template and restart the interfaces where the FlexAP for MAB and the NEAT Supplicant switch for 802.1x are connected to, the result is following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mab&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Authc Failed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason is, that the command MAB has somehow disappeared from the derived configuration of this interface and the dynamic template is not applied to the interface. On the other side, the template configuration itself still contain the MAB command.&lt;/P&gt;
&lt;P&gt;For the NEAT switch I do not see any active session for 802.1X.&lt;/P&gt;
&lt;P&gt;Once I configure the previous command “access-session interface-template sticky”, both devices are successfully authenticated and authorized as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is really weird...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 09:47:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3714914#M25244</guid>
      <dc:creator>Jozef Cmorej</dc:creator>
      <dc:date>2018-09-28T09:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3737522#M25246</link>
      <description>&lt;P&gt;I ran into the same bug with 16.3.6 where MAB was disappearing from the port. We down graded to 3.6.9, and it fixed the MAB issue. it also sort of fixed another weird MAB session terminated issue we were running into.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.6.9 however does not seem to work with the 'access-session interface-template sticky' regardless of whether it is applied to the 'default' template or the AP template that ISE is sending.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 20:27:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3737522#M25246</guid>
      <dc:creator>estadlercisco</dc:creator>
      <dc:date>2018-11-01T20:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3737710#M25248</link>
      <description>&lt;P&gt;It has been confirmed with the Cisco Development team that with interface template authorization from ISE to a switch, certain port configurations can be changed (example: 'switch mode access' to 'switch mode trunk'), but the host-mode configuration changes are not permitted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The behavior we are facing to&lt;STRONG&gt; is expected and per design&lt;/STRONG&gt; according to Cisco and &lt;STRONG&gt;it is not the bug&lt;/STRONG&gt; as we thought initially. It means, we cannot use dynamic interface templates if they contain “access-session host-mode” commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only option the customer has, is to manually attach a static template to the interface based on a device type. A lot of manual work must be done and it breaks the concept of dynamic interface configuration with the access-session commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 07:08:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3737710#M25248</guid>
      <dc:creator>Jozef Cmorej</dc:creator>
      <dc:date>2018-11-02T07:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3791754#M25250</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The behavior we are facing to&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is expected and per design&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a feature.... How useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing I've found is that as soon as you add the access-session host-mode multi-host command to the template it adds other IBNS2.0 commands to the template config but because they are the interface defaults you can't see them unless you do show run all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;show run all | sec ISE_FLEX_AP&lt;BR /&gt;template ISE_FLEX_AP&lt;BR /&gt; switchport trunk native vlan&amp;nbsp;123&lt;BR /&gt; switchport trunk allowed vlan 123,124&lt;BR /&gt; switchport mode trunk&lt;BR /&gt; switchport nonegotiate&lt;BR /&gt; hold-queue 0 in&lt;BR /&gt; hold-queue 0 out&lt;BR /&gt; load-interval 300&lt;BR /&gt; carrier-delay 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the host-mode is configured, the default commands &lt;FONT color="#FF0000"&gt;(shown in red)&lt;/FONT&gt; are also configured as part of the template, now some of these contradict and therefore presumably overrule the interface's manual config&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BHF1-DV-SWI-04#show run all | sec ISE_FLEX_AP&lt;BR /&gt;template ISE_FLEX_AP&lt;BR /&gt;&lt;SPAN&gt;switchport trunk native vlan&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;switchport trunk allowed vlan&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;123&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;124&lt;/SPAN&gt;&lt;BR /&gt; switchport mode trunk&lt;BR /&gt; switchport nonegotiate&lt;BR /&gt; access-session host-mode multi-host&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;access-session control-direction both&lt;/FONT&gt;&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;no access-session closed&lt;/FONT&gt;&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;access-session port-control force-authorized&lt;/FONT&gt;&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;no access-session interface-template sticky&lt;/FONT&gt;&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;no authentication periodic&lt;/FONT&gt;&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;authentication timer reauthenticate 3600&lt;/FONT&gt;&lt;BR /&gt; hold-queue 0 in&lt;BR /&gt; hold-queue 0 out&lt;BR /&gt; load-interval 300&lt;BR /&gt; carrier-delay 0&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 00:53:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3791754#M25250</guid>
      <dc:creator>neil.woodhouse</dc:creator>
      <dc:date>2019-01-31T00:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3837646#M25251</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;recapping all previously said i'd suggest to stay with single host-mode multi-auth transfered from templates to the interface range command.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 14:09:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/3837646#M25251</guid>
      <dc:creator>Andrii Oliinyk</dc:creator>
      <dc:date>2019-04-12T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4046405#M558908</link>
      <description>&lt;P&gt;I've got this working or so it appears and I wonder if there's a subtle difference for why - I apply the interface sticky to the interface level, not in the template:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;interface GigabitEthernet1/0/7
...
access-session interface-template sticky timer 5
no snmp trap link-status
source template STD_PORT
!
template STD_PORT
dot1x pae authenticator
spanning-tree portfast
switchport access vlan 100
switchport mode access
switchport voice vlan 200
mab
access-session closed
access-session port-control auto
authentication periodic
authentication timer reauthenticate server
service-policy type control subscriber AI_DOT1X_MAB_POLICIES
subscriber aging inactivity-timer 30 probe
!
template TEST_FLEX_WAP_PORT
dot1x pae authenticator
spanning-tree portfast trunk
switchport access vlan 101
switchport trunk native vlan 101
switchport mode trunk
switchport nonegotiate
access-session control-direction in
access-session port-control auto
authentication periodic
authentication timer reauthenticate server
service-policy type control subscriber AI_DOT1X_MAB_POLICIES&lt;/PRE&gt;&lt;P&gt;Some comments:&lt;/P&gt;&lt;P&gt;- I see in doco they repeat several of the auth commands that are already active such as pae authenticator, mab etc.. initially I didn't have these and it seemed to make no diff but have added them in in troubleshooting, but in the end all my issues were around portfast. I would get errors saying it couldn't change port mode. Once I added the sticky I managed to fix the last bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%Portfast has been configured on GigabitEthernet1/0/7 but will only
have effect when the interface is in a non-trunking mode.
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION&lt;/PRE&gt;&lt;P&gt;or this one with a different config&lt;/P&gt;&lt;PRE&gt;Authentication must be disabled before changing port mode 
Command rejected: Conflict with Authentication. &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I had to use native vlan and access vlan of the AP management or it wouldn't work. It would auth but the management IP wasn't accessable and spanning-tree showed the MAC on that VLAN being dropped&lt;/P&gt;&lt;P&gt;- I put a timer on the sticky command but not sure if it's even needed. How can I even check the status?&lt;/P&gt;&lt;P&gt;- Testing with ISE 2.4p7, C9300 running 16.12.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 08:15:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4046405#M558908</guid>
      <dc:creator>franklinb</dc:creator>
      <dc:date>2020-03-16T08:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4059044#M559407</link>
      <description>&lt;P&gt;i have couple of cases in CTAC on the dynamic template for flexconnect AP or NEAT-switch with exactly MAC-drop subject.&lt;/P&gt;&lt;P&gt;our config is default access vlan on interface &amp;amp; trunk native &amp;lt;nondefaultvlan&amp;gt; vlan+trunk mode in dynamic template at the moment. with this we have noticed host-mode on interface must be multi-host (our standard is multi-auth) otherwise MACs start DROP.&lt;/P&gt;&lt;P&gt;for the neat circumstances for the expected behavior r little bit different but the same MAC-DROPs r in effect if ISE's authorization profile for NEAT has both "NEAT-checkbox" checked &amp;amp; dynamic Template defined &amp;amp; dynamic template definition on the switch doesnt contain "mode trunk".&lt;/P&gt;&lt;P&gt;C9.3K 16.9.3|16.9.4 &amp;amp; couple of higher&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm about year already in fighting Cisco's IBNS2.0 &amp;amp; it looks for me more &amp;amp; more like epic fail&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2020 16:35:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4059044#M559407</guid>
      <dc:creator>Andrii Oliinyk</dc:creator>
      <dc:date>2020-04-04T16:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4112958#M561513</link>
      <description>&lt;P&gt;Any updates on your cases with this issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im facing similar issues ...&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 13:16:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4112958#M561513</guid>
      <dc:creator>Ciscouserz</dc:creator>
      <dc:date>2020-07-03T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4113033#M561514</link>
      <description>well... with compact switches we have no problem with either IBNS1.0 or IBNS2.0. host mode in this case is multi-auth. But with flexconnect mode APs it's not the case. Below is quasi-workaround we use now:&lt;BR /&gt;1st the host-mode of multi-host is MUST, 2nd trunk native vlan for AP mgmt in the dynamic template must match access vlan on the authenticator's port. Otherwise: a) if u check NEAT option in the authZ profile, port's running config will be mangled with access vlan from the template, port mode trunk; b) if configured access vlan on the port doesn't match trunk native vlan from template, your locally switched wireless clients... dont receive IP addressing by DHCP (here CTAC is already for half of year cant give me BUG ID :0)&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jul 2020 15:26:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4113033#M561514</guid>
      <dc:creator>Andrii Oliinyk</dc:creator>
      <dc:date>2020-07-03T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4113036#M561515</link>
      <description>one short notice about your config: as u dont change host-mode within dynamic template u dont need interface-template sticky statement. in my understanding "interface-template sticky" is only way to make port transit into desired host-mode (quite unobvious though :0)</description>
      <pubDate>Fri, 03 Jul 2020 15:51:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4113036#M561515</guid>
      <dc:creator>Andrii Oliinyk</dc:creator>
      <dc:date>2020-07-03T15:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless sticky cmd used</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4113667#M561527</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/293790"&gt;@Andrii Oliinyk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;one short notice about your config: as u dont change host-mode within dynamic template u dont need interface-template sticky statement. in my understanding "interface-template sticky" is only way to make port transit into desired host-mode (quite unobvious though :0)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I found I had to add it otherwise the trunk parts of the dynamic config were not removed and it had issues reverting back including with stp. Like I mentioned though I had the sticky command in the base interface stanza, not in the interface template so not sure if that makes a big difference too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 02:09:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/4113667#M561527</guid>
      <dc:creator>franklinb</dc:creator>
      <dc:date>2020-07-06T02:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/5166971#M591461</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I know this thread is staring to become quite old but I was wondering if someone have found any solutions to this or have had any updates from Cisco.&lt;BR /&gt;&lt;BR /&gt;My use-case for the dynamic template assignment is for Flexconnect APs i.e. turning the port from multi-auth to multi-host.&lt;/P&gt;
&lt;P&gt;Anyone got any news?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 09:00:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/5166971#M591461</guid>
      <dc:creator>Simon Parlsjo</dc:creator>
      <dc:date>2024-08-28T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: IBNS 2.0 / Dynamic Interface Templace not applied correctly unless</title>
      <link>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/5166998#M591463</link>
      <description>&lt;P&gt;dont manipulate with host mode dynamically. as soon as u know port with FlexAP attached stay with multi-host hardcoded on that port. with the rest u can take templates from&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/168550"&gt;@franklinb&lt;/a&gt;&amp;nbsp;posts&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 09:17:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ibns-2-0-dynamic-interface-templace-not-applied-correctly-unless/m-p/5166998#M591463</guid>
      <dc:creator>Andrii Oliinyk</dc:creator>
      <dc:date>2024-08-28T09:17:09Z</dc:date>
    </item>
  </channel>
</rss>

