Forum Discussion
Sean_Ellis_9378
Nimbostratus
Dec 09, 2014How to parse data group entries using TMSH script
I have a data group where the keys are HTTP paths and the values are a destination URL and a pool. Unfortunately, a group used incorrect pool names and I need to make a mass alteration. My script ste...
Amit_Karnik
Nimbostratus
Dec 16, 2014The way I understand this is going to be an 1 time activity. If the of entries are not too large... you can list out the datagroup to a file. Make edits and merge the file back in:
tmsh list ltm data-group internal dgname > /tmp/dgname.contents Edit the /tmp/dgname.contents. Using vi some mass replacements will be easier. tmsh load sys config merge file /tmp/dgname.contents tmsh save sys config
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