Forum Discussion
anson
Sep 17, 2019Nimbostratus
script to find difference between scf file
Hi, Is there a option in f5 to trigger an alert based on scf difference . We recently had an issue with our f5 and the suggestion was to post a query with devcentral to track difference in scf file ...
Sep 17, 2019
Hello Anson.
Actually, I usually use something like this during upgrades.
- Capture SCF before upgrade (initial)
- Capture SCF after upgrade (final)
- Compare them to check the differences
# tmsh save sys config file /shared/tmp/<date>_initial.scf no-passphrase
# tmsh save sys config file /shared/tmp/<date>_final.scf no-passphrase
# tmsh show sys config-diff /shared/tmp/<date>_initial.scf /shared/tmp/<date>_final.scf | egrep -e "\s{3}\|\s{3}" -e "[<]$" -e "^\s*[>]"
Let me know if it helps.
KR,
Dario.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects