Once a pre-shared is configured, it is encrypted, and you cannot see it in the running configuration. It is displayed as ********.
To view the system configuration in 7.x code without "********", use the command below:
Alternatively to recover, perform one of the three solutions:
- Upload your configuration to a TFTP server. This is needed because once the configuration is sent to the TFTP server, the pre-shared key and other passwords appear as clear text (instead of ******** , as in the show run command).
To upload your configuration to a TFTP server, issue this command:
ASA#write net ):
Once the file is saved on the TFTP server, you can open it with a text editor and view the passwords in clear text.
- The configuration can also be uploaded to an FTP server. This is the command:
ASA#copy running-config ftp://USERNAME:[email protected]/
- A copy of the configuration can be saved in clear text on the ASA only. Issue these commands on the Adaptive Security Appliance (ASA) :
After performing one of these options, you should be able to see the pre-shared key.
For further information refer to the copy command.