Link to home
Start Free TrialLog in
Avatar of Mongo Peck
Mongo Peck

asked on

Cisco 3548 XL

Hi,

I have setup Radius Authentication but when I try to encrypt the password it fails to
Authenticate,

With the following.

radius-server host 10.42.7.110 auth-port 1645 acct-port 1646 key thispassword

The user account logons without any problems.

But when I encrypt the password.

radius-server host 10.42.7.110 auth-port 1645 acct-port 1646 key 7 *****

It fails to authenticate.

Am I missing something or is there any easier way ?  Its only the 3548-XL I have this problem on.

Thanks in advance,
Avatar of giltjr
giltjr
Flag of United States of America image

Can you point out where you can use a encrypted key for RADIUS?  I have alway just specified "key value"  and I checked a few places and don't seem to see anything that says you can do "key 7 encryptedvalue".
It seems like the following may be your issue. When you specify an encrypted key with '7', you need to paste a encrypted key, not the plain text key that you're expecting to be encrypted because you use a 7.

What you're looking for and what will work, is pasting the key with the following syntax:

radius-server host 10.42.7.110 auth-port 1645 acct-port 1646 key 0 ciscokey (plain text)

Service password-encryption (this will disguise the key in the config with random hash)

Now the key will be encrypted in the config.

If you have a legit encrypted key that looks like , 07AfeR20AbC, then you would use the 7 and paste the encrypted key. Hope this helps you.
Yes,  Leeeee is correct.  If radius-server key supports accepts encrypted keys, then the value after the 7 must be the encrypted value.  

However, that would only be used if you don't know what the clear text value is and you have saved the encrypted value.  IOS will store any key values encrypted once you specify service password-encryption.
Avatar of Mongo Peck
Mongo Peck

ASKER

Hi,

When using the key 7 I am using an encrypted value which instantly stops radius
from working.  

When I use Service password-encryption the AAA password remains plain text in the
config.

Its only the 3458-XL thats having a problem all other 2900's etc take the config without
any errors,  This switch also doesn't support ssh.

This is the version c3500XL-c3h2s-mz.120-5.WC5.bin
The most recent level of code for the 3548XL is c3500xl-c3h2s-mz.120-5.WC17.bin.
The most recent level of code for the 3548XL is c3500xl-c3h2s-mz.120-5.WC17.bin

Cause the switch to randomly to reboot.
When I use Service password-encryption the AAA password remains plain text in the
config.
We have 2 3548's left.  One is running c3550-ipservicesk9-mz.122-25.SEC.bin and the other  c3500xl-c3h2s-mz.120-5.WC17.bin.

Both show the passwords encrypted.
Whoa, the one running c3550-ipservicesk9-mz.122-25.SEC.bin is surely not a c3548-XL... :)
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is there some 3548 hardware versions that cannot support later IOS.
These switches run c3500xl-c3h2s-mz.120-5.WC5.bin without any problems.

As soon as I replace this with c3500xl-c3h2s-mz.120-5.WC17.bin they randomly crash
constantly.
I do remember something faint about different memory size (4M/8M?), but that may have been the 2900XL series...

Check the MD5 of your .WC17 image, make sure it's not corrupt? Possibly format the flash of the switch before uploading new image?
Just checked and 12.0(5)WC17 is supposed to be able to run on 3500 XL switches with 8MB of DRAM, which is the minimum that a 3548XL is supposed to have.  Ours has 16MB.