we are already using dot1x and want to add management access by SSH to the switches based on RADIUS authentication. As you can see in the configuration below, I want to use a different RADIUS Server for the login authentication than for dot1x.
I defined usages in the radius-server settings, but for some weird reason the switch still connect to 10.0.1.1 instead of 10.0.2.1.
What am I missing here?
aaa authentication login "networkList" local line aaa authentication login "rad" radius local authentication enable dot1x system-auth-control aaa authentication dot1x default radius
What version of the firmware are you on? There have been a few fixes for Radius in different firmware revisions. What happens if you switch the order the commands?
I looked up the release notes of the last recent firmware version but I could not find any topic regarding the radius server usage field or something like that.
What to you mean by "switch the order of the commands" ?
It should be able to, which is why I was wondering if it queried the other one first would it only access that one or is still skipping that one and only using 1.1. The other thing we could do is use wireshark to monitor the port and see if it is querying both.
I performed some sniffing and also changing the configuration order of both radius-servers.
According to the sniffing result, only one radius-server will be contacted by the switch.
If 1.1 is the first radius-server in the config, all requests (802.1x + login) are going here.
If 2.1 is the first radius-server in the config, all requests (802.1x + login) are going here.
But I noticed an odd behaviour: When I remove only one radius server from the config, and add it afterwards, to change the order in the config file, for 1.1 it did not change the order.
Edit:
After upgrading to 6.3.11 the following changed: Regardless which order the radius-servers have, the one with the usage 802.1x is queried for everything. No packet is going to the login one anymore.
Edit 2:
Please note: I don't know if that is important, but the IPs (1.1 / 1.2) are fake IPs here. In fact the one with the usage 802.1x has the higher one.
Edit 3:
I noticed, if I remove one of the servers from the config and request something using radius (dot1x / login) the remaining radius-server will be queried. If I add the removed one afterwards, the switch will still use the server, which was queried before.
My idea here is, that in 6.3.1.11 the switch remembers, which radius-server has been contacted recently.
Also sadly, the "usage" is not interpreted by the switch in the way it should be. To be more specific, it will be ignored.
In order to provide assistance, I'd need to know what troubleshooting steps you've taken so far. I'd also recommend updating the firmware to current. If you're looking to see if someone in the community has corrected this issue in their circumstances, we can certainly wait for a community response, as well.
I’m having the exact same issue on N2000 and N1500 even with the latest firmware 6.7.1.9 . I thought it was me being stupid but I was able to verify using pcap.
i need different radius servers for shell access vs MAB
DELL-Josh Cr
Community Manager
•
9700 Posts
•
43747 Points
2748
0
Posted March 2nd, 2017 15:00
Hi,
What version of the firmware are you on? There have been a few fixes for Radius in different firmware revisions. What happens if you switch the order the commands?