RADIUS 'Custom Attribute Mapping' To Pass a Static Value To Cisco Switch

Follow

SecureAuth IdP Versions Affected: IdP version 8.2+, RADIUS version 2.x and above.

Description: Configuring RADIUS to send a static value to Cisco Switch.

Cause: Cisco Switch needs a specific value (shell:priv-lvl=15) passed over to it from RADIUS so that it can allow users logging in with Privileged Mode (Enable Mode/Admin Mode).

Resolution: Decrypt RADIUS realm and hard code the string “shell:priv-lvl=15” with an AuxID that is not in use already, I hard coded it with AuxID3, shown in the following screenshot.

mceclip0.png

On SecureAuth RADIUS server, configure ‘Custom Attribute mapping’ to pass the string to the Switch, as shown below:

mceclip1.png

Please Note: ‘9’ is Cisco’s Vendor-ID, ‘1’ is Cisco’s vendor-type and ‘26’ is Cisco's Vendor-Specific attribute number. We tested with value ‘1’ under ‘Attribute’ in real environment and it worked.  

Here is NTRadPing Utility response with the above settings on RADIUS and the realm. 

mceclip2.png

Cisco's links for RADIUS Attributes Configuration Guide:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_radatt/configuration/xe-16/sec-usr-radatt-xe-16-book/sec-rad-ov-ietf-attr.html 

OR 

https://www.cisco.com/c/en/us/td/docs/ios/12_2/security/configuration/guide/scfradat.html 

 

SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.