cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1875
Views
5
Helpful
13
Replies

ASR9k aaa Radius authentication issues

Dadbaud73
Level 1
Level 1

Hello...new to posting here.  If it needs to go to a different board please move.

I am working for a company that is attempting to harden it's routing/switching network by leveraging Radius authentication via MS Active Directory.  I have been successful on configuring this for standard ios devices, but have yet to get the ASR9k's using XR v 6.3.3

here's my aaa config:

radius-server host 192.168.12.50 auth-port 1645 acct-port 1646
key 7 0333492B1207714A6501180B464B535E
timeout 5
!
aaa group server radius RAD_SERVERS
server 192.168.12.50 auth-port 1645 acct-port 1646
source-interface Loopback0
!
aaa authorization exec default none
aaa authentication login CONSOLE local
aaa authentication login default group RAD_SERVERS local

I have confirmed communication to the radius server.  I have other config I can provide if requested.  When trying to log in with AD credentials on the switch, I get an immediate access denied response.

1 Accepted Solution

Accepted Solutions

i have replied to your new thread. so we close this here and pursue your issue on the new thread.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

13 Replies 13

first try change the port 
1812 and 1813

balaji.bandi
Hall of Fame
Hall of Fame

what radius server, is the radius server listening to 1645 and 1646 ?

Could you make sure the radius server is reachable with the Loopback0 address?

on the NAD/NAC what IP address was added in the radius? Loopback0 address?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Dadbaud73
Level 1
Level 1

yes, the loopback address is the authorized address for comms.  I have done packet capture at my firewall and verified comms between the server and router on port 1645/46

I actually would have preferred using ports 1812/13 but when I used those ports to define the radius-server host, it would not commit the changes when I used that ip/ports in the aaa group server radius command.  I had to define it on 1645/46.

can you share 
debug aaa auth

what radius server ? 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Dadbaud73
Level 1
Level 1

Here's the debug output from username and pw entry.  I do know I am using correct credentials.  From this output I can surmise the line is using the default authentication method.  my credentials are passed to the server and they fail.

Dadbaud73_0-1676668586741.png

 

see my comment about bug 

CSCum34024 : Bug Search Tool (cisco.com) 
please check this bug 
there is bug if the key is more than 22 then it will not work.
reduce the key and check again, 

The key I have been using is only 15 characters.  I also do not get the associated error message when using debug locald during login attempts.

for key I will double check 
for the error message appear, can you more elaborate 

from the bug's description:

Symptom: ASR9000 running 4.3.2. Radius authentification fails with the following message seen in 'debug locald', despite radius-server is configured and seen in UP state in 'show radius': locald_DSC[308]: EXITTING 'locald_send_v' with error [A247C800] 'RADIUS' detected the 'fatal' condition 'No server information is available'

When I run debug locald and attempt radius authentication, I do not receive EXITTING 'locald_send_v' with error [A247C800] 'RADIUS' detected the 'fatal' condition 'No server information is available' 

This is what I mean when I say I do not get the associated error message

Dadbaud73
Level 1
Level 1

I have an update on this.  I have installed wireshark on the MS NPS.  I have confirmed I am getting access-accept packets being sent back to the routers.  

If the router is getting these packets, why is the user not being authenticated?  It makes no sense.

i have replied to your new thread. so we close this here and pursue your issue on the new thread.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help