F5 LTM 10 Configure Backup

This is the template to backup F5 LTM with version 10, if you have lower version, please change these tmsh commands to bigip shell commands.

  • Not sure why, but I get this when trying to validate the script: Validation Failed: An error occurred during script parsing. Position: Line 1, Character 3 Error message: mismatched character '-' expecting '=' Please check script syntax

  • can we run through this command script...when I see write erase I get scared:

    <!--SolarWinds Network Management Tools-->

    <!--Copyright 2007 SolarWinds.Net All rights reserved-->

    <!--Modified 12/02/2011-->

    <Configuration-Management Device="BIGIP F5 LTM" SystemOID=" 1.3.6.1.4.1.3375.2.1.3.4">

    <Commands>

                <Command Name="RESET" Value=""/>

      <Command Name="DownloadConfig" Value="tmsh show running-config all-properties"/>

      <Command Name="Reboot" Value="reload noconfirm"/>

      <Command Name="EnterConfigMode" Value=""/>

      <Command Name="ExitConfigMode" Value="exit"/>

      <Command Name="Startup" Value="startup"/>

      <Command Name="Running" Value="running"/>

      <Command Name="DownloadConfigIndirect" Value="write net ${StorageAddress}:/${StorageFilename}"/>

      <Command Name="UploadConfigIndirect"/>

      <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>

      <Command Name="SaveConfig" Value="tmsh save sys config"/>

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

    </Commands>

    </Configuration-Management>

  • Thanks for the command to set the display length. you need to add it to the template

    <Command Name="RESET" Value="tmsh modify cli preference display-threshold 2000"/>

    It will run the command everytime NCM connects.

  • Thanks for the post this works well. In answer to birddog no it's not the same as a UCS because the UCS has all your certificates and other stuff in it as well. This is a complete running config that is good for comparisons and tracking changes etc but it's not a replacement for your UCS's which you'll need to rebuild your boxes. One thing I've found with this is that some F5's were giving me a prompt along the lines of 'do you want to display all 1,355 items y/n?'. To get around this ( F5's with bigger configs ) you need to pass something like tmsh modify cli preference display-threshold 2000 to the box. I'm not sure how to do this with this template however so am just manually setting it on my devices at the moment. tmsh list cli preference cli preference shows your current settings.

  • Is this backup comparable to a full ucs file backup?