01-21-2021 10:52 AM
Hi,
Just in the process of configuring RADIUS on a 8404 using version 8.2.
First thing I notice is when I try and enter this command:
radius server host 172.9.99.120 key ****** source-ip 10.0.0.210
I get this error:
acli.pl: Redundant argument in sprintf
My assumption here is that this might be related to the new segmented management feature, so no longer need to define source-ip and enable
sourceip-flag
I see in the configuration guide there is this command:
radius server host WORD used-by {cli|snmp|web}
I don’t think this is what I am expecting it to be, but confused why I can only select one at a time, The default is cli.
If I try this:
radius server host 158.119.128.243 used-by web enable
I get this error:
Error: setting RadiusServHostTbl, radius server does not exist
Although I think ‘used-by web’ isn’t related to the EDM, maybe web based authentication?
I have RADIUS configured just with the configuration below at the moment, and works when logging in for CLI access:
radius server host 158.119.128.243 key ******
radius server host 158.119.60.11 key ******
radius enable
radius accounting enable
radius accounting include-cli-commands
Issue is, how do I configure this so that (if its possible) that RADIUS auth is used for accessing the EDM?
What about those other options, how do I use those if I can only select one at a time?
I know I’ve completely miss-understood here the purpose of the commands, but just trying to add some context to understand in bigger picture.
Maybe some examples of their use will help?
Many thanks in advance.
Solved! Go to Solution.
01-21-2021 01:44 PM
Martin
If you see an error message with “acli.pl” in front of it, that is a message from my ACLI terminal, not the switch itself.
Yes, the & character gets interpreted as an iteration of values by my terminal.
You can put double-quotes around the sharedSecret and ACLI terminal will not then interpret “&” inside the quotes and the VSP seems able to correctly process a secretKey inside double-quotes also, I just tested it (but not single quotes!! VSP then uses the single quotes as part of the shared secret!!).
Else you just hit CTRL-T and come out of interactive mode (% prompt) then issue the command there.
Best regards
Ludovico Stevens
01-21-2021 12:33 PM
Hi Mig,
Thanks for posting back.
I currently have this in place:
radius server host 10.119.128.243 key ******
radius server host 10.119.60.11 key ******
radius enable
radius accounting enable
radius accounting include-cli-commands
Which works for cli login, but when I try and add either:
radius server host 10.119.128.243 used-by web enable
or
radius server host 10.119.128.243 key ********* used-by web
I get this error:
acli.pl: Redundant argument in sprintf
if I try it this way around:
radius server host 10.119.128.243 used-by web key **********
I get this error:
Error: setting RadiusServHostTbl, radius server does not exist
Looking at the the ‘redundant argument in sprintf’ error I noticed that it didn't seem to get any arguments after the password, like ‘used-by web’, see below:
Yet if I used a different password it does!
I think the issue might be because I’m using characters in my password like $ # ! &, and something in that it doesn’t like.
I’ll have a play and post back
Cheers,
Martin
01-21-2021 11:43 AM
Hi Martin,
Here a working config in prod (obfuscated):
radius server host A.B.C.D key ******
radius server host A.B.C.E key ******
radius server host A.B.C.D key ****** used-by web
radius server host A.B.C.E key ****** used-by web
radius enable
radius reachability username USER password PASSWORD
Mig