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.
Resolution
This can be done by creating a Custom Device Family for the F5 devices and using SSH to capture the configuration.
- Create a custom Device Family for the F5 devices
- Add the devices to the custom Family either by Search or Statically adding
- 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
- Enter the SSH Credentials for the device family to use
Feedback
thumb_up
Yes
thumb_down
No