{"id":5244,"date":"2020-04-23T16:40:36","date_gmt":"2020-04-23T16:40:36","guid":{"rendered":"http:\/\/wiki-see.info\/wp\/?p=5244"},"modified":"2020-04-23T16:40:36","modified_gmt":"2020-04-23T16:40:36","slug":"privilege-level-15-with-cisco-ise","status":"publish","type":"post","link":"https:\/\/wiki-see.info\/wp\/2020\/04\/23\/privilege-level-15-with-cisco-ise\/","title":{"rendered":"Privilege Level 15 with Cisco ISE"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this post, I\u2019m going to show you how to assign privilege level 15 with Cisco ISE through RADIUS.<br><br>In addition, there are some other configuration required to be applied on the network devices themselves mainly to enable AAA and RADIUS authentication and authorisation. We will go only through the most relevant configuration parts in this post.<br><br>Let\u2019s get started with ISE configuration. First we will create a new authorisation profile and we will call it\u00a0<strong>R1_PRIV_15<\/strong>. The option we are after is called\u00a0<strong>Web Authentication (Local Web Auth)<\/strong>. This option allows ISE to push Cisco AV Pair attribute\u00a0<strong>priv-lvl=15<\/strong>\u00a0inside the RADIUS packets to the network device:<br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"725\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0007-1024x725-1.jpg\" alt=\"\" class=\"wp-image-5245\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0007-1024x725-1.jpg 1024w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0007-1024x725-1-300x212.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0007-1024x725-1-768x544.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0007-1024x725-1-745x527.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0007-1024x725-1-141x100.jpg 141w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s enable this option, and verify what attributes will be associated with it:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"403\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1.jpg\" alt=\"\" class=\"wp-image-5246\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1.jpg 938w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1-300x129.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1-768x330.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1-745x320.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1-170x73.jpg 170w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As we can see, by enabling the&nbsp;<strong>Web Authentication (Local Web Auth)<\/strong>&nbsp;option we can see the Cisco AV Pair attribute&nbsp;<strong>priv-lvl=15<\/strong>&nbsp;in the attributes details section.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ADD the NETWORK DEVICE<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let\u2019s create a network device and configure its Device Type as\u00a0<strong>IOS<\/strong>. The Device Type will be used in the top conditions on the policy set, we will see this later. We are going to call the network device\u00a0<strong>Router-01<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"765\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1024x765-1.jpg\" alt=\"\" class=\"wp-image-5247\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1024x765-1.jpg 1024w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1024x765-1-300x224.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1024x765-1-768x574.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1024x765-1-745x557.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1024x765-1-134x100.jpg 134w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">JOIN ISE TO THE AD<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let\u2019s make sure we have the AD group\u00a0<strong>LabAdmins<\/strong>\u00a0already added:<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1.jpg\" alt=\"\" data-id=\"5249\" data-full-url=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1.jpg\" data-link=\"https:\/\/wiki-see.info\/wp\/?attachment_id=5249\" class=\"wp-image-5249\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1.jpg 1024w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1-300x96.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1-768x247.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1-745x239.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0006-1024x329-1-170x55.jpg 170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As we can see the last group on the list is the&nbsp;<strong>LabAdmins<\/strong>&nbsp;group.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ISE POLICY SET<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let\u2019s create a new policy set and call it&nbsp;<strong>ADMIN_ACCESS_PRIV_15<\/strong>. As mentioned above this policy set will have some conditions on the top to match the traffic coming from the network device&nbsp;<strong>Router-01<\/strong>. The conditions are the Device Type which we configured as&nbsp;<strong>IOS<\/strong>, the RADIUS NAS Port Type which is Virtual in this case, and the RADIUS Service Type which is Login.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All these conditions should match for any SSH connection to&nbsp;<strong>Router-01<\/strong>. The point here is to make the policy set as much accurate as possible to match the exact traffic that should be served by itself. In the authentication section we will configure the authentication against the AD which is already joined to ISE.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And finally in the authorisation section we will configure a rule with a condition to check if the users are located in the AD group\u00a0<strong>LabAdmins<\/strong>, if so, then the authorisation profile we created earlier which is called\u00a0<strong>R1_PRIV_15<\/strong>\u00a0will be applied, instead if no match, the default authorisation rule will be applied which will deny accesses:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"579\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1-1024x579-1.jpg\" alt=\"\" class=\"wp-image-5251\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1-1024x579-1.jpg 1024w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1-1024x579-1-300x170.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1-1024x579-1-768x434.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1-1024x579-1-745x421.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0005-1-1024x579-1-170x96.jpg 170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">ROUTER RADIUS CONFIGURATION<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we have applied all the required configuration on ISE, let\u2019s move on and apply the required configuration on the\u00a0<strong>Router-01<\/strong>. Mainly what we need is to enable AAA, configure the RADIUS authentication and authorisation, associating AAA authentication and authorisation method lists to the VTY lines, and restricting the accesses to the VTY lines for SSH only:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"857\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG.jpg\" alt=\"\" class=\"wp-image-5252\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG.jpg 846w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG-296x300.jpg 296w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG-768x778.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG-745x755.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG-99x100.jpg 99w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">One thing worth mentioning here is that if we want to use the RADIUS Service Type in our conditions on ISE, then we need to enable&nbsp;<strong>radius-server attribute 6 on-for-login-auth<\/strong>, if not the RADIUS Service Type would be ignored in the RADIUS packets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">VERIFICATION<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All the required configurations are now in place. Let\u2019s do some tests by initiating SSH connection from the client, and trying to connect to the router with the\u00a0<strong>admin1<\/strong>\u00a0username which is located in the AD group\u00a0<strong>LabAdmins<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"415\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0004.jpg\" alt=\"\" class=\"wp-image-5253\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0004.jpg 661w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0004-300x188.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE_WEB_AUTHC_PRIV_15_0004-159x100.jpg 159w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As we can see, we have successfully logged into the router, and we have been straightaway placed into privilege level 15. We can verify that by looking at the\u00a0<strong>#<\/strong>\u00a0symbol or by using the command\u00a0<strong>show privilege<\/strong>. We can also verify the connected username by using the command\u00a0<strong>show users<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"182\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG2.jpg\" alt=\"\" class=\"wp-image-5254\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG2.jpg 848w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG2-300x64.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG2-768x165.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG2-745x160.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG2-170x36.jpg 170w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, let\u2019s look at RADIUS debugs and see what are the most relevant attributes for our SSH connection that have been exchanged between\u00a0<strong>Router-01<\/strong>\u00a0and ISE:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"913\" height=\"827\" src=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG3.jpg\" alt=\"\" class=\"wp-image-5255\" srcset=\"https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG3.jpg 913w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG3-300x272.jpg 300w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG3-768x696.jpg 768w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG3-745x675.jpg 745w, https:\/\/wiki-see.info\/wp\/wp-content\/uploads\/2020\/04\/ISE-RADIUS-CISCO-CONFIG3-110x100.jpg 110w\" sizes=\"auto, (max-width: 913px) 100vw, 913px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This wraps up this Privilege Level 15 with Cisco ISE post. I hope you enjoyed it, and as always, I would love to hear your feedback. Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I\u2019m going to show you how to assign privilege level 15 with Cisco ISE through RADIUS. In addition, there are some other configuration required to be applied on the network devices themselves mainly to enable AAA and RADIUS authentication and authorisation. We will go only through the most relevant configuration parts in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[808],"tags":[],"class_list":["post-5244","post","type-post","status-publish","format-standard","hentry","category-cisco-ise"],"_links":{"self":[{"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/posts\/5244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/comments?post=5244"}],"version-history":[{"count":1,"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/posts\/5244\/revisions"}],"predecessor-version":[{"id":5256,"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/posts\/5244\/revisions\/5256"}],"wp:attachment":[{"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/media?parent=5244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/categories?post=5244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki-see.info\/wp\/wp-json\/wp\/v2\/tags?post=5244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}