This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Cisco FTD - Simple script to download configuration

Just trying to write a simple automated script that will download the running-config from a Cisco FTD Firewall. 

The process is :

ssh to device

login with username/password

type command : system support diagnostic

type command : show run

Parents
  • This will resolve the issue:

    <Configuration-Management Device="Cisco Devices" SystemOID="1.3.6.1.4.1.9.1.2404" AutoDetectType="BySystemOid">
      <Commands>
        <Command Name="EnableCommand" Value="system support diagnostic-cli" />
        <Command Name="RESET" Value="" />
        <Command Name="MenuBased" Value="false"/>
        <Command Name="UseVirtualPromptForCommands" Value="true"/>
        <Command Name="Startup" Valuee="show startup" />
        <Command Name="Running" Value="more system:running-config" />
        <Command Name="DownloadConfig" Value="${ConfigType}"/>
        <Command Name="Version" Value="show version" />
        </Commands>
    </Configuration-Management>

    Don't forget to + the Kudos icon!

Reply
  • This will resolve the issue:

    <Configuration-Management Device="Cisco Devices" SystemOID="1.3.6.1.4.1.9.1.2404" AutoDetectType="BySystemOid">
      <Commands>
        <Command Name="EnableCommand" Value="system support diagnostic-cli" />
        <Command Name="RESET" Value="" />
        <Command Name="MenuBased" Value="false"/>
        <Command Name="UseVirtualPromptForCommands" Value="true"/>
        <Command Name="Startup" Valuee="show startup" />
        <Command Name="Running" Value="more system:running-config" />
        <Command Name="DownloadConfig" Value="${ConfigType}"/>
        <Command Name="Version" Value="show version" />
        </Commands>
    </Configuration-Management>

    Don't forget to + the Kudos icon!

Children
  • Thanks for the update on this. With my FP2110 and Solarwinds being off the net, I had to sneaker net it over. I had to make one change to the device template would fail because of this line:

    <Command Name="Version" Value="show version" />

    I changed it to:

    <Command Name="Version" Value="show running-config startup-config" />

    Really I don't know why I had to do it, and I just did it to see if I could make it work. Maybe because I running 6.6.1 on the FP2110?

    Thanks again