<?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: Can ISE change a port description? in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385546#M548740</link>
    <description>&lt;P&gt;Thanks for this. Unfortunately we're using 2960X which as far as I can see don't support the EEM scripting? The only way I can see it working is if we use an auto-smart-port macro.&lt;/P&gt;</description>
    <pubDate>Fri, 18 May 2018 14:03:26 GMT</pubDate>
    <dc:creator>Dan</dc:creator>
    <dc:date>2018-05-18T14:03:26Z</dc:date>
    <item>
      <title>Can ISE change a port description?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385414#M548732</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible for ISE to rename a port after a device has successfully finished a dot1x authentication? I'd like to be able to pull the hostname of the device and put it on the port description and then have it change back to a generic port description when a device hasn't authenticated. How would I go about doing this? I assume i'm going to have to do something with EPM to pull the hostname from somewhere?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've seen rm-port-description on our 2960Xs radius attributes but don't see the same option on ISE on the authorization results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 18:56:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385414#M548732</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2020-02-21T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE change a port description?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385493#M548735</link>
      <description>&lt;P&gt;I do not think the ISE can configure the description on the switch, but it should be able to send&amp;nbsp;the hostname using&amp;nbsp;&lt;SPAN&gt;aaa:supplicant-name&lt;/SPAN&gt;&amp;nbsp;AV-Pairs attribute.&lt;/P&gt;
&lt;P&gt;Then you would need to have some sort of script in place to monitor the interface, grab the&amp;nbsp;&lt;SPAN&gt;supplicant-name (trickiest thing) and write it as description.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I found this macro in the following post, but it does not seem to work:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://supportforums.cisco.com/t5/aaa-identity-and-nac/using-av-pairs-to-add-a-description-to-a-port-based-on-the/td-p/2270111" target="_blank"&gt;https://supportforums.cisco.com/t5/aaa-identity-and-nac/using-av-pairs-to-add-a-description-to-a-port-based-on-the/td-p/2270111&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want to have the&amp;nbsp;description configure so you can issue show int description and see who is connected to the interface then you may consider using show int users.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz16631/?rfs=iqvred" target="_blank"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz16631/?rfs=iqvred&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 12:52:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385493#M548735</guid>
      <dc:creator>Bogdan Nita</dc:creator>
      <dc:date>2018-05-18T12:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE change a port description?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385517#M548737</link>
      <description>Yes I had seen them but nobody followed up on whether they got it working or not and I'm struggling to find anything else on google. &lt;BR /&gt;&lt;BR /&gt;I would have thought that ISE is capable of doing this. It can already change the VLAN on a port and i'm assuming that it's just sending a 'sw mode access vlan xx' command to the switch?&lt;BR /&gt;&lt;BR /&gt;Don't think I'll be able to use the 'show int users' command as it returns nothing for me. Most likely because we're doing PC authentications only using MSCHAP and not EAP-TLS. I can see the switch learning the hostname of the devices because I can do a 'show auth sess int gi1/0/3' for example and see 'User-Name:  host/hostname.domain'.&lt;BR /&gt;&lt;BR /&gt;I haven't seen people using EPM scripts to pull CDP neighbour information and write it to a port description but struggling to figure out where to start to do the same for hostnames from auth sessions.</description>
      <pubDate>Fri, 18 May 2018 13:29:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385517#M548737</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2018-05-18T13:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE change a port description?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385531#M548738</link>
      <description>&lt;P&gt;If you ca use a command to see the hostamane you could use a EEM script like this one&amp;nbsp;(I haven't actually tested it so you might need to adapt it):&lt;/P&gt;
&lt;P&gt;event manager applet add_port_descr&lt;BR /&gt;&amp;nbsp;event identity interface regexp GigabitEthernet.* authz all athuz-complete&lt;BR /&gt;&amp;nbsp;action 1.0 cli command "enable"&lt;BR /&gt;&amp;nbsp;action 2.0 cli command "config t"&lt;BR /&gt;&amp;nbsp;action 3.0 cli command "interface $_nd_local_intf_name"&lt;BR /&gt;&amp;nbsp;action 4.0 cli command "do show auth sess int $_nd_local_intf_name | include User-Name"&lt;BR /&gt;&amp;nbsp;action 5.0 cli command "description $_cli_result"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;should write a description&amp;nbsp;&lt;SPAN&gt;'User-Name: host/hostname.domain'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 13:48:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385531#M548738</guid>
      <dc:creator>Bogdan Nita</dc:creator>
      <dc:date>2018-05-18T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE change a port description?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385546#M548740</link>
      <description>&lt;P&gt;Thanks for this. Unfortunately we're using 2960X which as far as I can see don't support the EEM scripting? The only way I can see it working is if we use an auto-smart-port macro.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 14:03:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/3385546#M548740</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2018-05-18T14:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE change a port description?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/5349841#M599090</link>
      <description>&lt;P&gt;I would love to get this working, but seem to be struggling. Catalyst 9300-24P&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:26:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-change-a-port-description/m-p/5349841#M599090</guid>
      <dc:creator>Ethan Campbell</dc:creator>
      <dc:date>2025-11-25T14:26:36Z</dc:date>
    </item>
  </channel>
</rss>

