Configure NCM to Capture F5 Devices
search cancel

Configure NCM to Capture F5 Devices

book

Article ID: 377052

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

We need an NCM script to capture the entire F5 configuration.

Environment

Any

Cause

  1.  

Resolution

This can be done by creating a Custom Device Family for the F5 devices and using SSH to capture the configuration.


  1. Create a custom Device Family for the F5 devices


  2. Add the devices to the custom Family either by Search or Statically adding


  3. Configure the SSH commands on the custom family. In this example we will use the following commands

    # Creates the config file
    tmsh save /sys config file /var/local/scf/config_capture.scf no-passphrase

    # write the contents to stdout to be captured by NCM
    cat /var/local/scf/config_capture.scf

    # Remove-Cleanup the config file
    rm /var/local/scf/config_capture.scf







          Note: Set the 'Running Capture Command' to:
    cat /var/local/scf/config_capture.scf



  4. Enter the SSH Credentials for the device family to use