Network Management
Modify the Cisco ASA template to show the keys
The pre-shared key is being shown as * from the downloaded configs.
First published date
Last published date
Overview
This article provides information on how to modify the Cisco Adaptive Security (ASA) template in NCM to issue a command that will display the keys.
Note: By default, when issuing a show running command to ASA, the pre-shared keys will be masked and will show as a series of *** in the downloaded configs.
Product section
Resolution
- Create a copy of the Cisco Adaptive Security Appliance Device Template (give the copy a unique name and an OID that differs from the existing). Set it so it will not be used for Auto Select
- Modify the <Command Name="Running" Value="running-config"/> to <Command Name="Running" Value="more system:running-config"/>.
- Modify the <Command Name="Startup" Value="startup"/> to <Command Name="Startup" Value=" show startup"/>.
- Modify the <Command Name="DownloadConfig" Value="show ${ConfigType}"/> to <Command Name="DownloadConfig" Value=" ${ConfigType}"/>.
- Save the template.
- Edit the Cisco ASA(s) and go to the NCM properties > Communications> use the drop down and then select the Device template you just created.
- Save the settings.
- Download the running config.
Once complete your Template Commands above should look like this
<Command Name="Startup" Value="show startup"/>
<Command Name="Running" Value="more system:running-config"/>
<Command Name="DownloadConfig" Value="${ConfigType}"/>
Note: This works for a single context ASAs and might not be applicable to multi-context devices.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.