<?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 Device Admin using Radius - what about Command Accounting? in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/device-admin-using-radius-what-about-command-accounting/m-p/3810450#M24902</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was testing the Device Admin using Radius (instead of TACACS+) and I was quite impressed with how well it works. For customers who only have a few devices and don't want to shell out the big bucks for a Device Admin license.&amp;nbsp; And it kind of makes sense for a simple use case where a user just wants to get to priv exec (lvl15) mode - it's what the customer is used to. They can of course make it more complex than this using the Cisco AVPair.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My only issue is that I was unable to tell the IOS-XE router (a CSR1000) that I want to log every command that the user entered.&amp;nbsp; This is very easy with TACACS.&amp;nbsp; Anyone does this with Radius?&amp;nbsp;&amp;nbsp; I don't mean command Authorization ... I am specifically talking about logging (or accounting) the commands that have been entered during that session.&lt;/P&gt;
&lt;P&gt;I have setup Radius Accounting at the start of the session, and also at the end of the Session, to ensure that the ISE Base Licenses are handled correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[abier@centos ~]$ &lt;STRONG&gt;ssh bob@172.16.1.240&lt;/STRONG&gt;
Password: 

CSR1#&lt;STRONG&gt;show run aaa&lt;/STRONG&gt;
!
&lt;FONT color="#000000"&gt;aaa authentication login default group radius-ise local
aaa authorization exec default group radius-ise if-authenticated 
aaa accounting exec default start-stop group radius-ise
aaa accounting update newinfo&lt;/FONT&gt;
!
radius server ise02
address ipv4 192.168.21.101 auth-port 1812 acct-port 1813
key 7 15355B000079252370
!
!
aaa group server radius radius-ise
server name ise02
mac-delimiter colon
!
aaa new-model
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I decided to place the Policy Rule at the end of the other stuff to avoid confusion - I check for NAS Port Type = Virtual, and NAS Port Id prefix "tty"&lt;/P&gt;
&lt;P&gt;Some wireshark analysis of the authentication&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="radius.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/31016iCBFD801B1E2A8578/image-size/large?v=v2&amp;amp;px=999" role="button" title="radius.PNG" alt="radius.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Feb 2019 00:54:55 GMT</pubDate>
    <dc:creator>Arne Bier</dc:creator>
    <dc:date>2019-02-27T00:54:55Z</dc:date>
    <item>
      <title>Device Admin using Radius - what about Command Accounting?</title>
      <link>https://community.cisco.com/t5/network-access-control/device-admin-using-radius-what-about-command-accounting/m-p/3810450#M24902</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was testing the Device Admin using Radius (instead of TACACS+) and I was quite impressed with how well it works. For customers who only have a few devices and don't want to shell out the big bucks for a Device Admin license.&amp;nbsp; And it kind of makes sense for a simple use case where a user just wants to get to priv exec (lvl15) mode - it's what the customer is used to. They can of course make it more complex than this using the Cisco AVPair.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My only issue is that I was unable to tell the IOS-XE router (a CSR1000) that I want to log every command that the user entered.&amp;nbsp; This is very easy with TACACS.&amp;nbsp; Anyone does this with Radius?&amp;nbsp;&amp;nbsp; I don't mean command Authorization ... I am specifically talking about logging (or accounting) the commands that have been entered during that session.&lt;/P&gt;
&lt;P&gt;I have setup Radius Accounting at the start of the session, and also at the end of the Session, to ensure that the ISE Base Licenses are handled correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[abier@centos ~]$ &lt;STRONG&gt;ssh bob@172.16.1.240&lt;/STRONG&gt;
Password: 

CSR1#&lt;STRONG&gt;show run aaa&lt;/STRONG&gt;
!
&lt;FONT color="#000000"&gt;aaa authentication login default group radius-ise local
aaa authorization exec default group radius-ise if-authenticated 
aaa accounting exec default start-stop group radius-ise
aaa accounting update newinfo&lt;/FONT&gt;
!
radius server ise02
address ipv4 192.168.21.101 auth-port 1812 acct-port 1813
key 7 15355B000079252370
!
!
aaa group server radius radius-ise
server name ise02
mac-delimiter colon
!
aaa new-model
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I decided to place the Policy Rule at the end of the other stuff to avoid confusion - I check for NAS Port Type = Virtual, and NAS Port Id prefix "tty"&lt;/P&gt;
&lt;P&gt;Some wireshark analysis of the authentication&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="radius.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/31016iCBFD801B1E2A8578/image-size/large?v=v2&amp;amp;px=999" role="button" title="radius.PNG" alt="radius.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 00:54:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/device-admin-using-radius-what-about-command-accounting/m-p/3810450#M24902</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2019-02-27T00:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Device Admin using Radius - what about Command Accounting?</title>
      <link>https://community.cisco.com/t5/network-access-control/device-admin-using-radius-what-about-command-accounting/m-p/3810482#M24905</link>
      <description>Its not a problem with radius rather its to do with cisco implementation.&lt;BR /&gt;The Cisco Systems implementation of RADIUS does not support command&lt;BR /&gt;accounting.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_aaa/configuration/xe-3s/sec-usr-aaa-xe-3s-book/sec-cfg-accountg.html#GUID-FC92726B-5BA8-44FE-AA0E-B026BE165D62" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_aaa/configuration/xe-3s/sec-usr-aaa-xe-3s-book/sec-cfg-accountg.html#GUID-FC92726B-5BA8-44FE-AA0E-B026BE165D62&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;**** Please remember to rate useful posts&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2019 03:11:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/device-admin-using-radius-what-about-command-accounting/m-p/3810482#M24905</guid>
      <dc:creator>Mohammed al Baqari</dc:creator>
      <dc:date>2019-02-27T03:11:09Z</dc:date>
    </item>
  </channel>
</rss>

