cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1826
Views
10
Helpful
6
Replies

IPSEC Crypto Key not encrypted in running-config

CiscoBrownBelt
Level 6
Level 6

I use the 6 parameter in the following however key still shows in running-config on a ISR800 router. How do I make it appear encrypted format in running-config:

crypto isakmp key 6 TESTJ=KEY address 1234

2 Accepted Solutions

Accepted Solutions

Hi,

Define the pre-shared key in cleartext without the "6" e.g. "crypto isakmp key TESTJ=KEY address 1234" once the following commands have been configured:-

 

key config-key password-encrypt testkey123
password encryption aes

...the pre-shared key will then appear as encrypted in the running configuration.

 

Reference here.

 

HTH

View solution in original post

No, it should not cause any impact if a tunnel is already established.

View solution in original post

6 Replies 6

Hi,

Define the pre-shared key in cleartext without the "6" e.g. "crypto isakmp key TESTJ=KEY address 1234" once the following commands have been configured:-

 

key config-key password-encrypt testkey123
password encryption aes

...the pre-shared key will then appear as encrypted in the running configuration.

 

Reference here.

 

HTH

Awesome thanks again!

Entering this command for a tunnel that is currently up should not break it correct as it only applies to how the password is shown in the run or start config correct?

No, it should not cause any impact if a tunnel is already established.

Thanks!

Looks like I had to make sure the "6" was still not displayed in running config for this to work.